mirror of
https://github.com/panda3d/panda3d.git
synced 2025-11-03 03:53:36 -05:00
*** empty log message ***
This commit is contained in:
parent
2eb381b73a
commit
018fccebdb
@ -3030,7 +3030,7 @@ apply_texture(TextureContext *tc) {
|
|||||||
Texture *tex = tc->_texture;
|
Texture *tex = tc->_texture;
|
||||||
Texture::WrapMode wrapU,wrapV;
|
Texture::WrapMode wrapU,wrapV;
|
||||||
wrapU=tex->get_wrapu();
|
wrapU=tex->get_wrapu();
|
||||||
wrapV=tex->get_wrapu();
|
wrapV=tex->get_wrapv();
|
||||||
|
|
||||||
if (wrapU!=_CurTexWrapModeU)
|
if (wrapU!=_CurTexWrapModeU)
|
||||||
_d3dDevice->SetTextureStageState(0,D3DTSS_ADDRESSU,get_texture_wrap_mode(wrapU));
|
_d3dDevice->SetTextureStageState(0,D3DTSS_ADDRESSU,get_texture_wrap_mode(wrapU));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user