Original Post
Hello, A friend and me are currently working on a game. In fact, this game is ended since july 2005, but we are updating some features. So, the first thing we've done was upgrading our SDK to August 2007. Then we met a strange problem : release version works perfectly whereas debug si not at all ! Indeed, in debug mode, we have a black screen : no sprite is displayed ! But text and sounds do (text is drawn with ID3DXFont). We recently realized that few sprites were displayed : thoses on which we apply a zoom or any transformation (=> a call to settransform). So, we add a settransform(matrix identity) before every sprite's drawing. And it definitely works. But it is also not normal ! Why do we have to call this function ? Beside, with identity (so, we do nothing !) ? Is this call slowing down our game ? Is it definitely necessary ? Thank you for your help PS : Our calls to ID3DXSprite::Begin are done with parameter D3DXSPRITE_ALPHABLEND. Should we change this ?