Rewrote gl_rend_state

This commit is contained in:
korenkonder
2025-04-27 17:32:22 +03:00
parent 903a73b2ad
commit 6674d70fc4
18 changed files with 1581 additions and 744 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ void fbo_blit(p_gl_rend_state& p_gl_rend_st, GLuint src_fbo, GLuint dst_fbo,
GLint dst_x, GLint dst_y, GLint dst_width, GLint dst_height, GLbitfield mask, GLenum filter) {
p_gl_rend_st.bind_read_framebuffer(src_fbo);
p_gl_rend_st.bind_draw_framebuffer(dst_fbo);
glBlitFramebuffer(src_x, src_y, src_x + src_width, src_y + src_height,
p_gl_rend_st.blit_framebuffer(src_x, src_y, src_x + src_width, src_y + src_height,
dst_x, dst_y, dst_x + dst_width, dst_y + dst_height, mask, filter);
}