1
0
Fork 0

Style fixes.

This commit is contained in:
Henrik Hautakoski 2023-05-01 17:48:02 +02:00
parent 5c5d9fe09a
commit 5144c197d5
2 changed files with 5 additions and 5 deletions

View file

@ -39,10 +39,10 @@ protected :
struct Batch struct Batch
{ {
RenderType type; RenderType type;
const Texture* texture; const Texture* texture;
unsigned int count; unsigned int count;
unsigned int offset; unsigned int offset;
}; };
typedef std::vector<Batch> BatchQueue; typedef std::vector<Batch> BatchQueue;

View file

@ -6,7 +6,7 @@ namespace sp {
OpenGLShaderProgram::OpenGLShaderProgram() OpenGLShaderProgram::OpenGLShaderProgram()
{ {
m_extension = "glsl"; m_extension = "glsl";
m_id = glCreateProgram(); m_id = glCreateProgram();
} }