Skip to content

Commit f579ec5

Browse files
committed
CRender: Specify shadowmap texture format.
1 parent 5c54914 commit f579ec5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Layers/xrRenderPC_GL/rgl.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ void CRender::create ()
184184
o.HW_smap_FETCH4 = FALSE;
185185
o.HW_smap = true;
186186
o.HW_smap_PCF = o.HW_smap;
187+
o.HW_smap_FORMAT = D3DFMT_D24X8;
187188

188189
o.fp16_filter = true;
189190
o.fp16_blend = true;

0 commit comments

Comments
 (0)