Remove unused code

This commit is contained in:
Kovid Goyal
2017-09-12 06:40:37 +05:30
parent 9eea178890
commit 1246032b67
2 changed files with 2 additions and 5 deletions

View File

@@ -466,7 +466,7 @@ draw_cells(ssize_t vao_idx, GLfloat xstart, GLfloat ystart, GLfloat dx, GLfloat
glUniform4ui(UL(default_colors), COLOR(default_fg), COLOR(default_bg), COLOR(highlight_fg), COLOR(highlight_bg));
check_gl();
#undef COLOR
glUniform1i(UL(sprites), 0);
glUniform1i(UL(sprites), 0); // the sprite map is bound to GL_TEXTURE0
check_gl();
unsigned int x, y, z;
sprite_map_current_layout(&x, &y, &z);