fix linux gpu build (don't need egl.h)
-This line, and those below, will be ignored-- M trunk/gpu/include/GrGLConfig.h git-svn-id: http://skia.googlecode.com/svn/trunk@736 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
851927db20
commit
9341bb6f46
@ -144,11 +144,13 @@
|
||||
#define GR_GL_PROC_ADDRESS(X) eglGetProcAddress(#X)
|
||||
#define GR_GL_PROC_ADDRESS_HEADER <EGL/egl.h>
|
||||
#elif GR_LINUX_BUILD
|
||||
#ifndef GL_GLEXT_PROTOTYPES
|
||||
#define GL_GLEXT_PROTOTYPES
|
||||
#endif
|
||||
#define GR_SUPPORT_GLDESKTOP 1
|
||||
#include <GL/gl.h>
|
||||
#include <GL/glext.h>
|
||||
#define GR_GL_PROC_ADDRESS(X) eglGetProcAddress(#X)
|
||||
#define GR_GL_PROC_ADDRESS_HEADER <EGL/egl.h>
|
||||
#define GR_GL_PROC_ADDRESS(X) &X
|
||||
#else
|
||||
#error "unsupported GR_???_BUILD"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user