Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix the grid display in the editor.

  • Loading branch information...
commit 288538e5d16a2133037b2f32c831656eab673301 1 parent 3d21b10
Yohann Ferreira authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/engine/video/video.cpp
View
1  src/engine/video/video.cpp
@@ -1060,6 +1060,7 @@ void VideoEngine::DrawGrid(float x, float y, float x_step, float y_step, const C
num_vertices += 2;
}
glColor4fv(&c[0]);
+ DisableTexture2D();
EnableVertexArray();
glVertexPointer(2, GL_FLOAT, 0, &(vertices[0]));
glDrawArrays(GL_LINES, 0, num_vertices);
Please sign in to comment.
Something went wrong with that request. Please try again.