mirror of https://github.com/snes9xgit/snes9x.git
win32: fix d3d cg problems
This commit is contained in:
parent
ba634f195c
commit
44cd82a966
|
@ -677,8 +677,8 @@ void CD3DCG::setShaderVars(int pass)
|
|||
cgD3D9SetTexture(cgpv,val);\
|
||||
cgD3D9SetSamplerState(cgpv, D3DSAMP_ADDRESSU, D3DTADDRESS_BORDER);\
|
||||
cgD3D9SetSamplerState(cgpv, D3DSAMP_ADDRESSV, D3DTADDRESS_BORDER);\
|
||||
cgD3D9SetSamplerState(cgpv, D3DSAMP_MINFILTER, linear?D3DTEXF_LINEAR:D3DTEXF_POINT);\
|
||||
cgD3D9SetSamplerState(cgpv, D3DSAMP_MAGFILTER, linear?D3DTEXF_LINEAR:D3DTEXF_POINT);\
|
||||
/*cgD3D9SetSamplerState(cgpv, D3DSAMP_MINFILTER, linear?D3DTEXF_LINEAR:D3DTEXF_POINT);\
|
||||
cgD3D9SetSamplerState(cgpv, D3DSAMP_MAGFILTER, linear?D3DTEXF_LINEAR:D3DTEXF_POINT);*/\
|
||||
}\
|
||||
}\
|
||||
|
||||
|
|
Loading…
Reference in New Issue