forked from enlightenment/efl
evas: fix broken build with OpenGL ES backend.
This is a temporary fix, once we move to Evas_GL_Image, it shouldn't be needed anymore. Thanks to Cédric "chep" Chépied for reporting the issue.
This commit is contained in:
parent
b1342d933d
commit
a4fd5ac3dd
|
@ -206,6 +206,11 @@
|
|||
#define EGL_MAP_GL_TEXTURE_OPTION_WRITE_SEC (1<<1)
|
||||
#endif
|
||||
|
||||
// Evas_3d require GL_BGR, but that's an extention and will not be necessary once we move to Evas_GL_Image
|
||||
#ifndef GL_BGR
|
||||
#define GL_BGR 0x80E0
|
||||
#endif
|
||||
|
||||
#ifndef GL_COLOR_BUFFER_BIT0_QCOM
|
||||
// if GL_COLOR_BUFFER_BIT0_QCOM just assume the rest arent... saves fluff
|
||||
#define GL_COLOR_BUFFER_BIT0_QCOM 0x00000001
|
||||
|
|
Loading…
Reference in New Issue