mirror of
https://github.com/minetest/irrlicht.git
synced 2025-06-28 06:20:21 +02:00
Make it possible again to enable ES1 on Linux.
Seems Debian 11 adds it back. Thanks @TheBrokenRail for patch. Hidden in comments for patch #322: https://sourceforge.net/p/irrlicht/patches/322 git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6175 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
@ -12,14 +12,14 @@
|
||||
#if defined(_IRR_COMPILE_WITH_IOS_DEVICE_)
|
||||
#include <OpenGLES/ES1/gl.h>
|
||||
#include <OpenGLES/ES1/glext.h>
|
||||
#elif defined(_IRR_COMPILE_WITH_ANDROID_DEVICE_)
|
||||
#include <GLES/gl.h>
|
||||
#include <GLES/glext.h>
|
||||
#include <EGL/eglplatform.h>
|
||||
#else
|
||||
#elif defined(_IRR_OGLES1_USE_KHRONOS_API_HEADERS_)
|
||||
#include <khronos-api/GLES/gl.h>
|
||||
#include <EGL/eglplatform.h>
|
||||
typedef char GLchar;
|
||||
#else // or only when defined(_IRR_COMPILE_WITH_ANDROID_DEVICE_) ?
|
||||
#include <GLES/gl.h>
|
||||
#include <GLES/glext.h>
|
||||
#include <EGL/eglplatform.h>
|
||||
#if defined(_IRR_OGLES1_USE_EXTPOINTER_)
|
||||
#include "gles-ext.h"
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user