mirror of
https://github.com/korenkonder/ReDIVA.git
synced 2026-10-01 11:18:23 +03:00
Removed unnecessary camera update
This commit is contained in:
@@ -1320,7 +1320,6 @@ void image_filter_scale(RenderTexture* dst, texture* src, const vec4& scale) {
|
||||
void draw_pass_set_camera() {
|
||||
render_context* rctx = rctx_ptr;
|
||||
camera* cam = rctx->camera;
|
||||
cam->update_data();
|
||||
rctx->view_mat = cam->view;
|
||||
rctx->proj_mat = cam->projection;
|
||||
rctx->vp_mat = cam->view_projection;
|
||||
|
||||
Reference in New Issue
Block a user