mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-16 08:10:32 +02:00
Fixed an issue when compiling Doom and not prey.
This commit is contained in:
@@ -1906,11 +1906,13 @@ idMaterial::GetGlowImage
|
||||
===================
|
||||
*/
|
||||
idImage* idMaterial::GetGlowImage(void) const {
|
||||
#ifdef PREY
|
||||
for (int i = 0; i < numStages; i++) {
|
||||
if ((stages[i].lighting == SL_GLOWMAP || stages[i].isGlow) && stages[i].texture.image) {
|
||||
return stages[i].texture.image;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user