mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-15 07:00:58 +00:00
Bink compile fixes
This commit is contained in:
parent
f67360bc06
commit
671d8ec880
1 changed files with 2 additions and 2 deletions
|
@ -92,7 +92,7 @@ public:
|
|||
virtual ~idCinematicLocal();
|
||||
|
||||
virtual bool InitFromFile( const char* qpath, bool looping, nvrhi::ICommandList* commandList );
|
||||
virtual cinData_t ImageForTime( int milliseconds, nvrhi::ICommandList* commandList );
|
||||
virtual cinData_t ImageForTime( int milliseconds, nvrhi::ICommandList* commandList = nullptr);
|
||||
virtual int AnimationLength();
|
||||
// RB begin
|
||||
bool IsPlaying() const;
|
||||
|
@ -1639,7 +1639,7 @@ cinData_t idCinematicLocal::ImageForTimeBinkDec( int thisTime )
|
|||
opts.height = h;
|
||||
img->AllocImage( opts, TF_LINEAR, TR_REPEAT );
|
||||
}
|
||||
img->SubImageUpload( 0, 0, 0, 0, w, h, yuvBuffer[i].data );
|
||||
img->SubImageUpload( 0, 0, 0, 0, w, h, yuvBuffer[i].data ,nullptr,1);
|
||||
}
|
||||
|
||||
hasFrame = true;
|
||||
|
|
Loading…
Reference in a new issue