medfall

A super great game engine
Log | Files | Refs

commit 083f48a40613c0ad31fc21f7e35f380d2e8071df
parent 6884f92a9555cf0d7bb5592dcac369d5edca6291
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sat Jul 29 20:35:44 -0700

renderer_ub_easy

Diffstat:
hm.cc | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/hm.cc b/hm.cc @@ -325,8 +325,7 @@ GAME_FRAME( game_frame ) { skybox_render( &game->skybox, Vsky, P, game->sun_angle, sun_dir ); terrain_render( &game->tm, V, P, game->sun_angle, sun_dir, current_time ); - struct { m4 V; m4 P; } uniforms = { V, P }; - renderer_ub_data( ub_view, &uniforms, sizeof( uniforms ) ); + renderer_ub_easy( ub_view, V, P ); { RenderState render_state;