From 0241b91ba55583d9fcc8d0699da33078d6427264 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Tue, 12 Mar 2013 17:52:02 +0000 Subject: Move renderers a bit closer together --- src/renderergl1/tr_bsp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/renderergl1/tr_bsp.c') 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 ) { -- cgit