diff options
author | Tim Angus <tim@ngus.net> | 2013-03-12 17:52:02 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-03-19 16:41:19 +0000 |
commit | 0241b91ba55583d9fcc8d0699da33078d6427264 (patch) | |
tree | 09671151c545ec48ae283f43cea3ee06fc9be767 /src/renderergl1/tr_bsp.c | |
parent | 12463cdadbb1821f2093aab4ddb88eff94a4bf71 (diff) |
Move renderers a bit closer together
Diffstat (limited to 'src/renderergl1/tr_bsp.c')
-rw-r--r-- | src/renderergl1/tr_bsp.c | 3 |
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 ) { |