(D3D) d3d_set_texture - implement it properly

This commit is contained in:
twinaphex 2015-04-05 17:42:53 +02:00
parent 7a2554c750
commit 252c9e5947

View File

@ -307,7 +307,7 @@ void d3d_set_texture(LPDIRECT3DDEVICE dev, unsigned sampler,
+ fetchConstant); + fetchConstant);
D3DDevice_SetTexture(dev, sampler, tex, pendingMask3); D3DDevice_SetTexture(dev, sampler, tex, pendingMask3);
#else #else
dev->SetTexture(0, tex); dev->SetTexture(sampler, tex);
#endif #endif
} }