diff options
author | SmileTheory <SmileTheory@gmail.com> | 2016-02-10 16:25:32 -0800 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2016-04-07 11:54:13 +0100 |
commit | e4a4b0b57899bde1f35565e18bcb9bb1b06f6320 (patch) | |
tree | 82dbf87041fc9d385223cfac1be0926c6c2b66c1 /src/renderergl2/tr_main.c | |
parent | d5ba7bb70ef327c8856165475b58e946c8fbd8ce (diff) |
OpenGL2: Add named cubemaps and per-map env.json parsing.
Diffstat (limited to 'src/renderergl2/tr_main.c')
-rw-r--r-- | src/renderergl2/tr_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderergl2/tr_main.c b/src/renderergl2/tr_main.c index 63fea5ac..f4261033 100644 --- a/src/renderergl2/tr_main.c +++ b/src/renderergl2/tr_main.c @@ -2937,7 +2937,7 @@ void R_RenderCubemapSide( int cubemapIndex, int cubemapSide, qboolean subscene ) // only print message for first side if (directed[0] + directed[1] + directed[2] == 0 && cubemapSide == 0) { - ri.Printf(PRINT_ALL, "cubemap %d (%f, %f, %f) is outside the lightgrid!\n", cubemapIndex, tr.refdef.vieworg[0], tr.refdef.vieworg[1], tr.refdef.vieworg[2]); + ri.Printf(PRINT_ALL, "cubemap %d %s (%f, %f, %f) is outside the lightgrid!\n", cubemapIndex, tr.cubemaps[cubemapIndex].name, tr.refdef.vieworg[0], tr.refdef.vieworg[1], tr.refdef.vieworg[2]); } } |