OpenGL2: Add r_cubemapSize.

This commit is contained in:
SmileTheory committed 2015-12-24 16:34:58 -08:00
1 parent c3216f54d2
commit e2b2437966
5 files changed
+8 -7

No files matched your search

+1 -1
View File
@@ -2841,7 +2841,7 @@ void R_CreateBuiltinImages( void ) {
if (r_cubeMapping->integer)
{
tr.renderCubeImage = R_CreateImage("*renderCube", NULL, CUBE_MAP_SIZE, CUBE_MAP_SIZE, IMGTYPE_COLORALPHA, IMGFLAG_NO_COMPRESSION | IMGFLAG_CLAMPTOEDGE | IMGFLAG_MIPMAP | IMGFLAG_CUBEMAP, rgbFormat);
tr.renderCubeImage = R_CreateImage("*renderCube", NULL, r_cubemapSize->integer, r_cubemapSize->integer, IMGTYPE_COLORALPHA, IMGFLAG_NO_COMPRESSION | IMGFLAG_CLAMPTOEDGE | IMGFLAG_MIPMAP | IMGFLAG_CUBEMAP, rgbFormat);
}
}
}