medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 69476a2ff1f78785da71b0b8fe1dbcb9a9b32862
parent e4ee342ba7a62eb62eed04e5aaadb81f32737a01
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Thu Nov  3 19:22:58 +0200

ATTR_* should be GLuint

Diffstat:
renderer.cc | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/renderer.cc b/renderer.cc @@ -12,11 +12,11 @@ static_assert( sizeof( VAO ) == sizeof( GLuint ) ); static_assert( sizeof( Shader ) == sizeof( GLuint ) ); static_assert( sizeof( Texture ) == sizeof( GLuint ) ); -static const u32 ATTR_POSITION = 0; -static const u32 ATTR_NORMAL = 1; -static const u32 ATTR_TEX_COORD0 = 2; -static const u32 ATTR_TEX_COORD1 = 3; -static const u32 ATTR_COLOUR = 4; +static const GLuint ATTR_POSITION = 0; +static const GLuint ATTR_NORMAL = 1; +static const GLuint ATTR_TEX_COORD0 = 2; +static const GLuint ATTR_TEX_COORD1 = 3; +static const GLuint ATTR_COLOUR = 4; struct OpenGLState { RenderState render_state;