Game Development Community

D3DERR_INVALIDCALL in Debug version of T3D

by Huan Li · in Torque 3D Professional · 05/15/2009 (9:26 pm) · 4 replies

I complie and run a debug version of t3d exe, it always shows a dialog window with such message below when t3d in launching, resizing, opening or closing editors:
D3DERR_INVALIDCALL
Invalid call
GFXD3D9TextureManager::_createTexture - unable to create render target

can someone help me resolve that problem?

#1
05/16/2009 (4:10 am)
Is it crashing or just asserting?

It looks like your card might not support "StretchRect calls with a texture as the source". Though this looks like it could also be related to anti-aliasing (AA). There is a known issue in beta one with AA getting set to crazy values like 60, so you should try applying that fix first.
#2
05/16/2009 (4:12 am)
Also, what kindof video card do you have?

And for the time being, if it is just a non-crashing assert, you can always comment out that block of code in gfxD3D9TextureManager where the D3D9Assert is originating.
#3
05/16/2009 (9:10 am)
@James
my card is ATI Mobility Radeon X1350

it is just a non-crashing assert.

doesn't assert mean something wrong?
#4
05/16/2009 (10:17 am)
yes, but crashing without an assert means its an 'unhandled' issue, assert 'crashes' are tidy exits, other crashes can do ugly things to the OS