Przeglądaj źródła

*** empty log message ***

David Rose 25 lat temu
rodzic
commit
018fccebdb
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      panda/src/dxgsg/dxGraphicsStateGuardian.cxx

+ 1 - 1
panda/src/dxgsg/dxGraphicsStateGuardian.cxx

@@ -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));