1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 06:04:49 +01:00

#270 make sure framebuffer is initialized with surface_tex

This commit is contained in:
FunkyFr3sh 2024-01-10 04:34:42 +01:00
parent 3212dad148
commit 8a66959df9

View File

@ -583,7 +583,7 @@ static void ogl_init_scale_program()
0,
GL_RGBA,
GL_UNSIGNED_BYTE,
0);
g_ogl.surface_tex);
glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, g_ogl.frame_buffer_tex_id, 0);