Skip to content

Commit

Permalink
Adapted the example to the latest changes in the library
Browse files Browse the repository at this point in the history
  • Loading branch information
tanis2000 committed Apr 5, 2022
1 parent 7e8e12c commit 692e3f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ void main_loop() {
kmAABB2 vp = binocle_viewport_adapter_get_viewport(*adapter);

// Render to screen
binocle_gd_render(&gd, window, DESIGN_WIDTH, DESIGN_HEIGHT, vp);
binocle_gd_render(&gd, window, DESIGN_WIDTH, DESIGN_HEIGHT, vp, camera.viewport_adapter->scale_matrix, camera.viewport_adapter->inverse_multiplier);

binocle_window_refresh(window);
binocle_window_end_frame(window);
Expand Down

0 comments on commit 692e3f9

Please sign in to comment.