]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_screen.c
some cleanup of glDelete calls to guard against bugs caused by GL
[xonotic/darkplaces.git] / cl_screen.c
index 2a7af7dd5e0b15ed2eed4d40a818631e9fce1e80..fd73d8d566a4e4b3c279d608108e278bd5543152 100644 (file)
@@ -2779,6 +2779,9 @@ void CL_UpdateScreen(void)
                        sb_lines = 24+16+8;
        }
 
+       R_FrameData_NewFrame();
+       R_BufferData_NewFrame();
+
        Matrix4x4_OriginFromMatrix(&r_refdef.view.matrix, vieworigin);
        R_HDR_UpdateIrisAdaptation(vieworigin);