fix texturing

This commit is contained in:
hodasemi 2019-06-01 19:21:16 +02:00
parent 9737818f81
commit 1dfbe38011

View file

@ -114,7 +114,7 @@ void terrain::render_solid_terrain()
glEnable(GL_TEXTURE_2D); glEnable(GL_TEXTURE_2D);
glActiveTexture(GL_TEXTURE0); glActiveTexture(GL_TEXTURE0);
glBindTexture(GL_TEXTURE0, texture_handle); glBindTexture(GL_TEXTURE_2D, texture_handle);
// Set the material color to white // Set the material color to white
glColor3d(1, 1, 1); glColor3d(1, 1, 1);