"could not create DIRECT3D9 texture"

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
speewave
Posts: 12
Joined: Wed May 14, 2008 3:02 am

"could not create DIRECT3D9 texture"

Post by speewave »

I was just goofing around with the examples and i was going to replace an image with a higher resolution one (20-- by 17--) at 2MB. and i get the message in Console = Could Not Create DIRECT3D9 (or 8) Texture!

Here's my System Info.

1.7GHz Pentium 4
ATI Radeon 9200 (128VRAM)
DirectX 9.0c Installed
DirectX 8.1 SDK (ATI Card is 8.1)

Note: I tried changing the stones.jpg image for higher-res water :P *SpecialFX*
wyrmmage
Posts: 204
Joined: Sun Mar 16, 2008 3:12 am
Contact:

Post by wyrmmage »

my guess is that the texture has to be a power of two, since that's a pretty common requirement for textures; since 20 is not a power of two, and 17 is not a power of two, the texture creation fails ;)

-wyrmmage
Worlds at War (Current Project) - http://www.awkward-games.com
Ganadu'r, The Eternal Sage (Other Current Project) - http://rpg.naget.com
Post Reply