From 0884a857dad65dce4bc6ed81d9a4451db3e4e4d6 Mon Sep 17 00:00:00 2001 From: myT <> Date: Sat, 13 Jan 2024 22:35:34 +0100 Subject: [PATCH] fixed R_EndScene's memory allocation test --- code/renderer/tr_cmds.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/renderer/tr_cmds.cpp b/code/renderer/tr_cmds.cpp index 848d0b7..914b661 100644 --- a/code/renderer/tr_cmds.cpp +++ b/code/renderer/tr_cmds.cpp @@ -383,7 +383,7 @@ void RE_TakeVideoFrame( int width, int height, byte *captureBuffer, byte *encode void R_EndScene( const viewParms_t* viewParms ) { - if ( !CanAllocateRenderCommand() ) + if ( !CanAllocateRenderCommand() ) return; Q_assert( tr.renderMode == RM_3D );