diff --git a/include/Spectre/Graphics/BatchRenderer2D.h b/include/Spectre/Graphics/BatchRenderer2D.h index 79bcd17..9fca51e 100644 --- a/include/Spectre/Graphics/BatchRenderer2D.h +++ b/include/Spectre/Graphics/BatchRenderer2D.h @@ -39,10 +39,10 @@ protected : struct Batch { - RenderType type; - const Texture* texture; - unsigned int count; - unsigned int offset; + RenderType type; + const Texture* texture; + unsigned int count; + unsigned int offset; }; typedef std::vector BatchQueue; diff --git a/source/GfxDriver/OpenGL/OpenGLShaderProgram.cpp b/source/GfxDriver/OpenGL/OpenGLShaderProgram.cpp index 829bf8b..3837e6d 100644 --- a/source/GfxDriver/OpenGL/OpenGLShaderProgram.cpp +++ b/source/GfxDriver/OpenGL/OpenGLShaderProgram.cpp @@ -6,7 +6,7 @@ namespace sp { OpenGLShaderProgram::OpenGLShaderProgram() { m_extension = "glsl"; - m_id = glCreateProgram(); + m_id = glCreateProgram(); }