blarg
This commit is contained in:
parent
1a3314f0bd
commit
65ccf2a717
|
@ -47,7 +47,7 @@
|
||||||
// if you need more OpenGL functions, add them to the macronator here
|
// if you need more OpenGL functions, add them to the macronator here
|
||||||
// TODO: handle conditionally loading certain functions for different GL versions
|
// TODO: handle conditionally loading certain functions for different GL versions
|
||||||
|
|
||||||
#ifdef GL_VERSION_1_3
|
#ifndef __WIN32__
|
||||||
|
|
||||||
#define DO_PROCLIST_1_3(func)
|
#define DO_PROCLIST_1_3(func)
|
||||||
|
|
||||||
|
|
|
@ -427,7 +427,7 @@ void GLScreen_DrawScreen()
|
||||||
glBindBuffer(GL_ARRAY_BUFFER, GL_ScreenVertexBufferID);
|
glBindBuffer(GL_ARRAY_BUFFER, GL_ScreenVertexBufferID);
|
||||||
glBindVertexArray(GL_ScreenVertexArrayID);
|
glBindVertexArray(GL_ScreenVertexArrayID);
|
||||||
glDrawArrays(GL_TRIANGLES, 0, 4*3);
|
glDrawArrays(GL_TRIANGLES, 0, 4*3);
|
||||||
}
|
}
|
||||||
|
|
||||||
glFlush();
|
glFlush();
|
||||||
uiGLSwapBuffers(GLContext);
|
uiGLSwapBuffers(GLContext);
|
||||||
|
|
Loading…
Reference in New Issue