summaryrefslogtreecommitdiff
path: root/src/renderergl1/tr_bsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderergl1/tr_bsp.c')
-rw-r--r--src/renderergl1/tr_bsp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/renderergl1/tr_bsp.c b/src/renderergl1/tr_bsp.c
index 0200011f..bccc2ba2 100644
--- a/src/renderergl1/tr_bsp.c
+++ b/src/renderergl1/tr_bsp.c
@@ -204,7 +204,8 @@ static void R_LoadLightmaps( lump_t *l ) {
}
}
tr.lightmaps[i] = R_CreateImage( va("*lightmap%d",i), image,
- LIGHTMAP_SIZE, LIGHTMAP_SIZE, qfalse, qfalse, GL_CLAMP_TO_EDGE );
+ LIGHTMAP_SIZE, LIGHTMAP_SIZE, IMGTYPE_COLORALPHA,
+ IMGFLAG_NOLIGHTSCALE | IMGFLAG_NO_COMPRESSION | IMGFLAG_CLAMPTOEDGE, 0 );
}
if ( r_lightmap->integer == 2 ) {