Skip to content

Commit 9726bfe

Browse files
committed
ifdef ADAPTIVE_EXPOSURE_AVAILABLE
1 parent 377a7d3 commit 9726bfe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/engine/renderer/glsl_source/cameraEffects_fp.glsl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ uniform uint u_ViewWidth;
6262
uniform uint u_ViewHeight;
6363

6464
uniform bool u_Tonemap;
65+
#if defined(ADAPTIVE_EXPOSURE_AVAILABLE)
6566
uniform bool u_TonemapAdaptiveExposure;
67+
#endif
6668
/* x: contrast
6769
y: highlightsCompressionSpeed
6870
z: shoulderClip

0 commit comments

Comments
 (0)