Skip to content

Commit c5c3e95

Browse files
committed
rgl: Fix assert.
1 parent 20eba73 commit c5c3e95

File tree

1 file changed

+1
-1
lines changed
  • src/Layers/xrRenderPC_GL

1 file changed

+1
-1
lines changed

src/Layers/xrRenderPC_GL/rgl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ class CRender : public D3DXRenderBase
252252
R_constant* C = &*RCache.get_c (c_sbase); // get sampler
253253
if (0==C) return;
254254
VERIFY (RC_dest_sampler == C->destination);
255-
VERIFY (RC_dx10texture == C->type);
255+
VERIFY (RC_sampler == C->type);
256256
CTexture* T = RCache.get_ActiveTexture (u32(C->samp.index));
257257
VERIFY (T);
258258
float mtl = T->m_material;

0 commit comments

Comments
 (0)