Skip to main content
GameDev.net gamedev.net
🔒 Locked

Problem loading/using a second texture

Started by moonshot Jan 18, 2004 at 5:29 PM 0 replies 600+ views
Original Post
moonshot
moonshot
I''m using the CTexture class from Eamonn Doherty''s "2D in Direct3D using Textured Quads"....http://www.gamedev.net/reference/articles/article1972.asp When I go to blit the second texture, I get an exception thrown. I''ve tracked this down and figured out that it''s because texture->width is undefined. This is obviously used position the texture. What I can''t figure out, is why it''s undefined. The texture doesn''t fail the check to make sure it loaded properly, so I assume it did. Any ideas why the width isn''t set? This failure only happens on the second texture. I can load and blit the first texture I use just fine.
moonshot aka Jayson Bailey
moonshot
moonshot
Shameless bump. I still haven''t been able to figure it out.
moonshot aka Jayson Bailey

Topic Locked

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

Sign in to reply to this topic.