mirror of https://github.com/kivy/kivy.git
Merge pull request #4960 from kivy/matham-patch-1
Use predefined headers when mocking. Fixes #4959.
This commit is contained in:
commit
8cc8a64938
|
@ -31,8 +31,9 @@
|
||||||
#define GL_FRAMEBUFFER_UNDEFINED_OES 0x8219
|
#define GL_FRAMEBUFFER_UNDEFINED_OES 0x8219
|
||||||
#define GL_DEPTH24_STENCIL8_OES 0x88F0
|
#define GL_DEPTH24_STENCIL8_OES 0x88F0
|
||||||
|
|
||||||
|
#if __USE_OPENGL_MOCK
|
||||||
#if defined(_WIN32)
|
#include "common_subset.h"
|
||||||
|
#elif defined(_WIN32)
|
||||||
#include <GL/glew.h>
|
#include <GL/glew.h>
|
||||||
#define GL_GLEXT_PROTOTYPES
|
#define GL_GLEXT_PROTOTYPES
|
||||||
#define GL_APICALL
|
#define GL_APICALL
|
||||||
|
|
Loading…
Reference in New Issue