fixed R_EndScene's memory allocation test

This commit is contained in:
myT 2024-01-13 22:35:34 +01:00
parent 55f227771e
commit 0884a857da

View file

@ -383,7 +383,7 @@ void RE_TakeVideoFrame( int width, int height, byte *captureBuffer, byte *encode
void R_EndScene( const viewParms_t* viewParms )
{
if ( !CanAllocateRenderCommand<videoFrameCommand_t>() )
if ( !CanAllocateRenderCommand<endSceneCommand_t>() )
return;
Q_assert( tr.renderMode == RM_3D );