Revert "Bink compile fixes"

This reverts commit 671d8ec880.
This commit is contained in:
HarrievG 2022-06-06 00:02:15 +02:00
parent 671d8ec880
commit 8e74690f18

View file

@ -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 = nullptr);
virtual cinData_t ImageForTime( int milliseconds, nvrhi::ICommandList* commandList );
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 ,nullptr,1);
img->SubImageUpload( 0, 0, 0, 0, w, h, yuvBuffer[i].data );
}
hasFrame = true;