medfall

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

commit c83bfce1a14a562c54f7f9a9cb7eb64176861288
parent 18c3098295a78c86857a6104b0e7b88da8a27e90
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Tue Nov 29 18:58:25 +0200

Get rid of junk cast

Diffstat:
renderer.cc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/renderer.cc b/renderer.cc @@ -323,7 +323,7 @@ Texture renderer_new_texture( TextureConfig config ) { glTexImage2D( GL_TEXTURE_2D, 0, internal_format, config.width, config.height, 0, channels, type, config.data ); - return static_cast< Texture >( texture ); + return texture; } void renderer_delete_texture( Texture texture ) {