Skip to content

Commit

Permalink
rgl: Fix assert.
Browse files Browse the repository at this point in the history
  • Loading branch information
CrossVR committed Mar 22, 2016
1 parent 20eba73 commit c5c3e95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Layers/xrRenderPC_GL/rgl.h
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ class CRender : public D3DXRenderBase
R_constant* C = &*RCache.get_c (c_sbase); // get sampler
if (0==C) return;
VERIFY (RC_dest_sampler == C->destination);
VERIFY (RC_dx10texture == C->type);
VERIFY (RC_sampler == C->type);
CTexture* T = RCache.get_ActiveTexture (u32(C->samp.index));
VERIFY (T);
float mtl = T->m_material;
Expand Down

0 comments on commit c5c3e95

Please sign in to comment.