Skip to main content
gamedev.net
🔒 Locked

problems with D3DTextr_CreateTextureFromFile

Started by ryoder Jun 28, 2000 at 2:13 PM 1 replies 350+ views
Original Post
ryoder
ryoder
For some strange reason I can only load 8 bit palletized bmp images with system palette. The method fails for any other format including 8 bit bmps with a custom palette. I checked the return value and its just something like D3D_GENERIC_ERROR or something so that doesn''t help. Is it trying to load the texture onto an incompatible surface?? I really want to use this texture mgt utility because it makes my code easier smaller and cleaner. Does anyone use this? Has anyone had success with it? MCSE, MCSD, Sun Certified Java Programmer Pimp Daddy ;)
MCSE, MCSD, Sun Certified Java ProgrammerPimp Daddy ;)
ryoder
ryoder
Anyone, anyone???


MCSE, MCSD, Sun Certified Java Programmer
Pimp Daddy ;)
MCSE, MCSD, Sun Certified Java ProgrammerPimp Daddy ;)
WitchLord
WitchLord
Personally I use D3DXCreateTextureFromFile(), I have no trouble with that one. If you can, try to see if that function works.

- WitchLord
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - <a href="http://www.angelcode.com/tower" rel

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.