Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.



This topic is 5674 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

My video card supports D3DPTEXTURECAPS_NONPOW2CONDITIONAL.And my codes match the following request. 1.The texture addressing mode for the texture stage is set to D3DTADDRESS_CLAMP. 2.Texture wrapping for the texture stage is disabled (D3DRS_WRAPn set to 0). PD3DDEVICE->SetRenderState( D3DRS_WRAP0, 0 ); PD3DDEVICE->SetTextureStageState( 0, D3DTSS_ADDRESSU, D3DTADDRESS_CLAMP ); PD3DDEVICE->SetTextureStageState( 0, D3DTSS_ADDRESSV, D3DTADDRESS_CLAMP ); PD3DDEVICE->SetTextureStageState( 0, D3DTSS_ADDRESSW, D3DTADDRESS_CLAMP ); 3.Mipmapping is not in use (use magnification filter only). 4.Texture formats must not be DXT1-5 if (FAILED(PD3DDEVICE->CreateTexture(m_pTextureInfo[nFrame].nWidth, m_pTextureInfo[nFrame].nHeight, 1, 0, D3DFMT_A4R4G4B4, D3DPOOL_MANAGED, &m_pTextureInfo[nFrame].pTexture))) return NULL; On video card build in intel 845GL chip set,every thing is all right.But on Geforce4 MX440 card, the game window is all white, like the texture is set to NULL.And got the following debug output: Direct3D8: (ERROR) :The resource manager failed to promote or update a dirty texture. The texture will be disabled. What''s more should i pay attention to.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!