28 #ifndef _CEGUIOpenGL3StateChangeWrapper_h_
29 #define _CEGUIOpenGL3StateChangeWrapper_h_
31 #include "CEGUI/RendererModules/OpenGL/GL.h"
32 #include "CEGUI/RendererModules/OpenGL/GL3Renderer.h"
35 # pragma warning(push)
36 # pragma warning(disable : 4251)
55 bool equal(GLenum sFactor, GLenum dFactor);
56 GLenum d_sFactor, d_dFactor;
62 bool equal(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
63 GLenum d_sfactorRGB, d_dfactorRGB, d_sfactorAlpha, d_dfactorAlpha;
69 bool equal(GLint x, GLint y, GLsizei width, GLsizei height);
71 GLsizei d_width, d_height;
77 bool equal(GLenum target, GLuint buffer);
90 void bindVertexArray(GLuint vertexArray);
91 void blendFunc(GLenum sfactor, GLenum dfactor);
92 void blendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
93 void viewport(GLint x, GLint y, GLsizei width, GLsizei height);
94 void scissor(GLint x, GLint y, GLsizei width, GLsizei height);
95 void bindBuffer(GLenum target, GLuint buffer);
98 GLuint d_vertexArrayObject;
108 #if defined(_MSC_VER)
109 # pragma warning(pop)