Auth 2D stuff

This commit is contained in:
korenkonder
2023-03-04 03:46:44 +03:00
parent bfc52a1729
commit cd53da270a
42 changed files with 7007 additions and 386 deletions
+2 -2
View File
@@ -258,8 +258,8 @@ void post_process::apply(camera* cam, texture* light_proj_tex, int32_t npr_param
gl_state_bind_sampler(i, 0);
fbo::blit(screen_texture.fbos[0], fbo_texture.fbos[0],
screen_x_offset, screen_y_offset, sprite_width, sprite_height,
0, 0, render_width, render_height, GL_COLOR_BUFFER_BIT, GL_LINEAR);
0, 0, screen_width, screen_height,
0, 0, screen_width, screen_height, GL_COLOR_BUFFER_BIT, GL_LINEAR);
}
void post_process::ctrl(camera* cam) {