diff --git a/src/engine/renderer/tr_image.cpp b/src/engine/renderer/tr_image.cpp index 65338df23c..a92a4034dd 100644 --- a/src/engine/renderer/tr_image.cpp +++ b/src/engine/renderer/tr_image.cpp @@ -2536,6 +2536,8 @@ static void R_CreateShadowMapFBOImage() int numFactor = 1; int format = IF_NOPICMIP; + /* FIXME: We should test if those formats are supported + and if r_highPrecisionRendering is enabled. */ switch( glConfig2.shadowingMode ) { case shadowingMode_t::SHADOWING_ESM16: @@ -2619,6 +2621,8 @@ static void R_CreateShadowCubeFBOImage() int format = IF_NOPICMIP; + /* FIXME: We should test if those formats are supported + and if r_highPrecisionRendering is enabled. */ switch( glConfig2.shadowingMode ) { case shadowingMode_t::SHADOWING_ESM16: