Don't load lightmaps on on Permedia 2

This commit is contained in:
smallmodel 2025-01-19 15:21:11 +01:00
parent 7452bf39fb
commit edf3560dd5
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -212,9 +212,9 @@ static void R_LoadLightmaps(gamelump_t* l) {
// create all the lightmaps
tr.numLightmaps = len / (LIGHTMAP_SIZE * LIGHTMAP_SIZE * 3);
// if we are in r_vertexLight mode, we don't need the lightmaps at all
if ( r_vertexLight->integer ) {
// if we are in r_vertexLight mode, we don't need the lightmaps at all
if ( r_vertexLight->integer || glConfig.hardwareType == GLHW_PERMEDIA2 ) {
return;
}