mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-16 00:01:53 +02:00
Implemented loading screen code from prey
This commit is contained in:
@@ -1267,7 +1267,6 @@ If fullLoad is false, only the small mip levels of the image will be loaded
|
||||
================
|
||||
*/
|
||||
bool idImage::CheckPrecompressedImage( bool fullLoad ) {
|
||||
return false;
|
||||
|
||||
#if 1 // ( _D3XP had disabled ) - Allow grabbing of DDS's from original Doom pak files
|
||||
// if we are doing a copyFiles, make sure the original images are referenced
|
||||
@@ -1285,6 +1284,10 @@ bool idImage::CheckPrecompressedImage( bool fullLoad ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!renderSystem->IsOpenGLRunning()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
char filename[MAX_IMAGE_NAME];
|
||||
ImageProgramStringToCompressedFileName( imgName, filename );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user