summaryrefslogtreecommitdiff
path: root/src/renderergl2/tr_image.c
diff options
context:
space:
mode:
authorAuthor: Xycaleth <alex@acslo.com>2015-03-23 20:05:35 -0500
committerTim Angus <tim@ngus.net>2015-06-07 12:03:36 +0100
commita6507173e482bf939fec0cb766c2fa4ae2df0ba5 (patch)
tree7127654bbde106d118a527e7f671a123eb720e75 /src/renderergl2/tr_image.c
parent056941da75eee33aaf0a62bf984e81fd61248d2d (diff)
OpenGL2: Fix shadow cubemap size
Diffstat (limited to 'src/renderergl2/tr_image.c')
-rw-r--r--src/renderergl2/tr_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderergl2/tr_image.c b/src/renderergl2/tr_image.c
index eaea1c66..3bf21c88 100644
--- a/src/renderergl2/tr_image.c
+++ b/src/renderergl2/tr_image.c
@@ -2715,7 +2715,7 @@ void R_CreateBuiltinImages( void ) {
{
for( x = 0; x < MAX_DLIGHTS; x++)
{
- tr.shadowCubemaps[x] = R_CreateImage(va("*shadowcubemap%i", x), (byte *)data, DEFAULT_SIZE, DEFAULT_SIZE, IMGTYPE_COLORALPHA, IMGFLAG_CLAMPTOEDGE | IMGFLAG_CUBEMAP, 0);
+ tr.shadowCubemaps[x] = R_CreateImage(va("*shadowcubemap%i", x), (byte *)data, PSHADOW_MAP_SIZE, PSHADOW_MAP_SIZE, IMGTYPE_COLORALPHA, IMGFLAG_CLAMPTOEDGE | IMGFLAG_CUBEMAP, 0);
}
}