mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2025-02-16 17:01:08 +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 )
|
void R_EndScene( const viewParms_t* viewParms )
|
||||||
{
|
{
|
||||||
if ( !CanAllocateRenderCommand<videoFrameCommand_t>() )
|
if ( !CanAllocateRenderCommand<endSceneCommand_t>() )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Q_assert( tr.renderMode == RM_3D );
|
Q_assert( tr.renderMode == RM_3D );
|
||||||
|
|
Loading…
Reference in a new issue