mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2024-11-22 03:51:22 +00:00
fixed R_EndScene's memory allocation test
This commit is contained in:
parent
55f227771e
commit
0884a857da
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue