mirror of https://github.com/aap/librw.git
fix in d3d texstage cache
This commit is contained in:
parent
89901f925e
commit
d92996c66d
|
@ -1523,6 +1523,12 @@ initD3D(void)
|
|||
d3ddevice->GetSamplerState(s, (D3DSAMPLERSTATETYPE)t, (DWORD*)&d3dSamplerStates[t][s]);
|
||||
d3dSamplerStates[t][s] = d3dSamplerStates[t][s];
|
||||
}
|
||||
// init rw cache
|
||||
for(t = 0; t < MAXNUMSTAGES; t++){
|
||||
setFilterMode(t, Texture::NEAREST);
|
||||
setAddressU(t, Texture::WRAP);
|
||||
setAddressV(t, Texture::WRAP);
|
||||
}
|
||||
|
||||
openIm2D();
|
||||
openIm3D();
|
||||
|
|
Loading…
Reference in New Issue