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:
parent
3212dad148
commit
8a66959df9
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user