Define GL_SYNC_ defines if not available
This commit is contained in:
parent
b965ac36ec
commit
70fc26677d
|
@ -59,6 +59,14 @@
|
||||||
|
|
||||||
#include "../video_shader_driver.h"
|
#include "../video_shader_driver.h"
|
||||||
|
|
||||||
|
#ifndef GL_SYNC_GPU_COMMANDS_COMPLETE
|
||||||
|
#define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef GL_SYNC_FLUSH_COMMANDS_BIT
|
||||||
|
#define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Used for the last pass when rendering to the back buffer. */
|
/* Used for the last pass when rendering to the back buffer. */
|
||||||
static const GLfloat vertexes_flipped[] = {
|
static const GLfloat vertexes_flipped[] = {
|
||||||
0, 1,
|
0, 1,
|
||||||
|
|
Loading…
Reference in New Issue