29 #ifndef _CEGUIOpenGL3StateChangeWrapper_h_
30 #define _CEGUIOpenGL3StateChangeWrapper_h_
32 #include "CEGUI/RendererModules/OpenGL/GL.h"
33 #include "CEGUI/RendererModules/OpenGL/GL3Renderer.h"
36 # pragma warning(push)
37 # pragma warning(disable : 4251)
56 bool equal(GLenum sFactor, GLenum dFactor);
57 GLenum d_sFactor, d_dFactor;
63 bool equal(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
64 GLenum d_sfactorRGB, d_dfactorRGB, d_sfactorAlpha, d_dfactorAlpha;
70 bool equal(GLint x, GLint y, GLsizei width, GLsizei height);
72 GLsizei d_width, d_height;
78 bool equal(GLenum target, GLuint buffer);
91 void bindVertexArray(GLuint vertexArray);
92 void blendFunc(GLenum sfactor, GLenum dfactor);
93 void blendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
94 void viewport(GLint x, GLint y, GLsizei width, GLsizei height);
95 void scissor(GLint x, GLint y, GLsizei width, GLsizei height);
96 void bindBuffer(GLenum target, GLuint buffer);
99 GLuint d_vertexArrayObject;
109 #if defined(_MSC_VER)
110 # pragma warning(pop)