XNA Creators Club Online
Page 1 of 1 (2 items)
Sort Posts: Previous Next

Directx 10 and problems displaying sprites

Last post 03-09-2008 6:16 PM by Ralf Kornmann. 1 replies.
  • 03-09-2008 11:16 AM

    Directx 10 and problems displaying sprites

    Hi there!

    I'm having hard time trying to solve this particular problem.

    As the topic says I'm having problems using DirectX 10 and displaying sprites on my screen, to be more precise I'm having problems displaying sprites if I'm using D3D10_DRIVER_TYPE_HARDWARE when creating device and swapchain. If I change the drivertype to D3D10_DRIVER_TYPE_REFERENCE the sprites display just fine. The displaying problem also occurs when trying to use custom bitmap fonts. I'm using the example code from Beginning DirectX 10 Game Programming by Wendy Jones but I have also tried some online tutorial(s) and having same problem there.

    All the other examples from the book work just fine with D3D10_DRIVER_TYPE_HARDWARE.

    I've been googling around searching for a solution but have found none yet so I decided to give posting a try.

    I'm using Windows Vista Ultimate 64bit with Ati Radeon 2900Pro.

    Any suggestions or solutions would be greatly appriciated.
  • 03-09-2008 6:16 PM In reply to

    Re: Directx 10 and problems displaying sprites

    As the sprite class is part of Direct3DX there may be changes since the version that was used to write the book samples. You should check the documentation of the SDK you are using.

Page 1 of 1 (2 items) Previous Next
var gDomain='m.webtrends.com'; var gDcsId='dcschd84w10000w4lw9hcqmsz_8n3x'; var gTrackEvents=1; var gFpc='WT_FPC'; /*<\/scr"+"ipt>");} /*]]>*/
DCSIMG