commit 3e3cd8bfe5aef6c3f0ac2ba7864b5b816fe3dbfa parent bd31804516ba13d92f61d8627c193d39a3327ad8 Author: Michael Savage <mikejsavage@gmail.com> Date: Sun Oct 30 22:52:30 +0200 Don't need attribute locations anymore Diffstat:
bsp.cc | | | 3 | --- |
diff --git a/bsp.cc b/bsp.cc @@ -305,9 +305,6 @@ extern "C" GAME_INIT( game_init ) { game->angles = glm::radians( glm::vec3( -90, 135, 0 ) ); game->test_shader = renderer_new_shader( vert_src, frag_src ); - game->test_at_position = glGetAttribLocation( game->test_shader, "position" ); - game->test_at_colour = glGetAttribLocation( game->test_shader, "colour" ); - game->test_un_VP = glGetUniformLocation( game->test_shader, "VP" ); bspr_init( &game->bspr, &arena, &game->bsp );