This commit is contained in:
Camilla Berglund
2016-09-21 15:40:27 +02:00
parent a280c97321
commit c4a8930909
4 changed files with 8 additions and 12 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ static void key_callback(GLFWwindow* window, int key, int scancode, int action,
int main(int argc, char** argv)
{
GLFWwindow* windows[2];
GLuint texture, vertex_shader, fragment_shader, program, vertex_buffer;
GLuint texture, program, vertex_buffer;
GLint mvp_location, vpos_location, color_location, texture_location;
srand((unsigned int) time(NULL));