some cleanup of glDelete calls to guard against bugs caused by GL
[xonotic/darkplaces.git] / cl_screen.c
index 2a7af7d..fd73d8d 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);