medfall

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

commit f86b9f1eb551e5df6f2d66aa2e87746fb2432b6e
parent 246c5ecf800cd0887f2e47cf5c706f04aa8edd30
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sat Nov  5 12:18:29 +0200

Fix warning

Diffstat:
renderer.cc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/renderer.cc b/renderer.cc @@ -205,7 +205,7 @@ Shader renderer_new_shader( ShaderConfig config ) { for( size_t i = 0; i < RENDERER_MAX_TEXTURES; i++ ) { if( config.texture_uniform_names[ i ] != NULL ) { GLuint uniform = glGetUniformLocation( program, config.texture_uniform_names[ i ] ); - if( uniform != -1 ) { + if( uniform != GLuint( -1 ) ) { glUniform1i( uniform, i ); } }