OPENGL: Add a Context class used to describe the active OpenGL context
This commit is contained in:
parent
482255032e
commit
ed38c20cce
17 changed files with 276 additions and 140 deletions
|
@ -41,6 +41,11 @@
|
|||
# define GL_BGRA GL_BGRA_EXT
|
||||
#endif
|
||||
|
||||
#if !defined(GL_UNPACK_ROW_LENGTH)
|
||||
// The Android SDK does not declare GL_UNPACK_ROW_LENGTH_EXT
|
||||
#define GL_UNPACK_ROW_LENGTH 0x0CF2
|
||||
#endif
|
||||
|
||||
#elif defined(USE_GLEW)
|
||||
#include <GL/glew.h>
|
||||
#elif defined(SDL_BACKEND) && defined(USE_OPENGL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue