medfall

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

commit d7abbed49f3640991047eba1b90cc27eee1750dd
parent b0a761dbe44c9c0db56e7158af94f9f5901e539e
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Thu Nov  3 23:12:51 +0200

Paranoia cast

Diffstat:
renderer.cc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/renderer.cc b/renderer.cc @@ -341,7 +341,7 @@ void renderer_draw_mesh( const Mesh & mesh, RenderState state ) { for( size_t i = 0; i < ARRAY_COUNT( state.textures ); i++ ) { glActiveTexture( GL_TEXTURE0 + i ); - glBindTexture( GL_TEXTURE_2D, state.textures[ i ] ); + glBindTexture( GL_TEXTURE_2D, checked_cast< GLuint >( state.textures[ i ] ) ); } // TODO: set depth func, etc