Skip to content

Commit

Permalink
DOOM 3 - Remove image loading by using image's extension name and ins…
Browse files Browse the repository at this point in the history
…tead load them by using internal hierarchy
  • Loading branch information
MadDeCoDeR committed Feb 25, 2025
1 parent f82f321 commit 5b0c433
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neo/renderer/Image_files.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,7 @@ void R_LoadImage( const char* cname, byte** pic, int* width, int* height, ID_TIM
if( !ext.IsEmpty() )
{
int i;
for( i = 0; i < numImageLoaders; i++ )
/*for( i = 0; i < numImageLoaders; i++ )
{
if( !ext.Icmp( imageLoaders[i].ext ) )
{
Expand All @@ -951,7 +951,7 @@ void R_LoadImage( const char* cname, byte** pic, int* width, int* height, ID_TIM
}
}
if( i < numImageLoaders )
if( i < numImageLoaders )*/
{
if( pic && *pic == NULL )
{
Expand Down

0 comments on commit 5b0c433

Please sign in to comment.