mirror of
https://github.com/panda3d/panda3d.git
synced 2025-11-02 03:25:30 -05:00
oops on the debugginh info
This commit is contained in:
parent
f22866dc67
commit
f5bf1a49c0
@ -2740,7 +2740,7 @@ apply_texture(TextureContext *tc, int index) {
|
|||||||
// we dont see this bug cause we never mix textured/untextured
|
// we dont see this bug cause we never mix textured/untextured
|
||||||
_pD3DDevice->SetTexture(index, dtc->_pD3DTexture9);
|
_pD3DDevice->SetTexture(index, dtc->_pD3DTexture9);
|
||||||
|
|
||||||
#if 1
|
#if 0
|
||||||
if (dtc!=NULL) {
|
if (dtc!=NULL) {
|
||||||
dxgsg9_cat.info() << "Setting active DX texture " << index << " : "
|
dxgsg9_cat.info() << "Setting active DX texture " << index << " : "
|
||||||
<< dtc->_tex->get_name() << "\n";
|
<< dtc->_tex->get_name() << "\n";
|
||||||
@ -3015,7 +3015,7 @@ void DXGraphicsStateGuardian9::SetTextureBlendMode(TextureApplyAttrib::Mode TexB
|
|||||||
_pD3DDevice->SetTextureStageState(1, D3DTSS_COLORARG1, D3DTA_TEXTURE);
|
_pD3DDevice->SetTextureStageState(1, D3DTSS_COLORARG1, D3DTA_TEXTURE);
|
||||||
_pD3DDevice->SetTextureStageState(1, D3DTSS_COLORARG2, D3DTA_CURRENT);
|
_pD3DDevice->SetTextureStageState(1, D3DTSS_COLORARG2, D3DTA_CURRENT);
|
||||||
_pD3DDevice->SetTextureStageState(1, D3DTSS_COLOROP, D3DTOP_MODULATE);
|
_pD3DDevice->SetTextureStageState(1, D3DTSS_COLOROP, D3DTOP_MODULATE);
|
||||||
dxgsg9_cat.info() << "--------------modulating--------------" << endl;
|
//dxgsg9_cat.info() << "--------------modulating--------------" << endl;
|
||||||
break;
|
break;
|
||||||
case TextureApplyAttrib::M_decal:
|
case TextureApplyAttrib::M_decal:
|
||||||
// emulates GL_DECAL glTexEnv mode
|
// emulates GL_DECAL glTexEnv mode
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user