medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 246c5ecf800cd0887f2e47cf5c706f04aa8edd30
parent 9568c4f0a9254731f177696ae7a5200ea80881ba
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Fri Nov  4 19:44:57 +0200

Don't need glm::value_ptr

Diffstat:
bsp.cc | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/bsp.cc b/bsp.cc @@ -2,7 +2,6 @@ #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> -#include <glm/gtc/type_ptr.hpp> #include "game.h" #include "intrinsics.h" @@ -379,7 +378,7 @@ extern "C" GAME_FRAME( game_frame ) { ); renderer_begin_frame(); - renderer_ub_data( test_ub, glm::value_ptr( VP ), sizeof( VP ) ); + renderer_ub_data( test_ub, &VP, sizeof( VP ) ); RenderState render_state = { }; render_state.shader = game->test_shader;