Small refactor

This commit is contained in:
korenkonder
2023-07-08 04:05:24 +03:00
parent 8c82683cfd
commit 43c8e7c79b
7 changed files with 34 additions and 11 deletions
+1
View File
@@ -616,6 +616,7 @@ void post_process::draw_lens_ghost(render_texture* rt) {
void post_process::init_fbo(int32_t render_width, int32_t render_height,
int32_t sprite_width, int32_t sprite_height, int32_t screen_width, int32_t screen_height) {
if (this->render_width == render_width && this->render_height == render_height
&& this->sprite_width == sprite_width && this->sprite_height == sprite_height
&& this->screen_width == screen_width && this->screen_height == screen_height)
return;