fix texturing
This commit is contained in:
parent
9737818f81
commit
1dfbe38011
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue