medfall

A super great game engine
Log | Files | Refs

commit c23d1d090ad72f4fa86274eb22f13cfff542efc0
parent a0b0ba0dd9fe6d87d7f53644dacc31277eec5928
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Mon, 29 Oct 2018 21:48:50 +0200

Note to self

Diffstat:
renderer.cc | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/renderer.cc b/renderer.cc @@ -891,6 +891,7 @@ Texture renderer_new_texture( TextureConfig config ) { GLuint texture; glGenTextures( 1, &texture ); + // TODO: should probably update the gl state since we bind a new texture glBindTexture( GL_TEXTURE_2D, texture ); glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, texturewrap_to_glenum( config.wrap ) ); glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, texturewrap_to_glenum( config.wrap ) );