Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / pasting a sprite with pure dx calls in gdk window

Author
Message
chunks chunks
17
Years of Service
User Offline
Joined: 2nd Jan 2007
Location: ackworth uk
Posted: 5th Jan 2008 00:30
Is there any way to do this, i`ve tried the D3DXcreatesprite but that failed ..

well all ive managed to do is load a texture from a file and thats probably wrong ..


thanks chunks
chunks chunks
17
Years of Service
User Offline
Joined: 2nd Jan 2007
Location: ackworth uk
Posted: 5th Jan 2008 03:25 Edited at: 5th Jan 2008 11:52
ive managed to do a bit more can anyone see whats wrong with the code please..



sorted it now


does anyone know how to get a pointer to a dbpro image so it can be used with the direct x sprite i know you can do it in gdk but i could do with it for my dll...
tempicek
16
Years of Service
User Offline
Joined: 27th Nov 2007
Location: Prague
Posted: 6th Jan 2008 17:34
Quote: "does anyone know how to get a pointer to a dbpro image so it can be used with the direct x sprite i know you can do it in gdk but i could do with it for my dll..."


AFAIK it's not possible to obtain the pointer to underlying DX resource. But why would you do that? You can load the image using DX and you can display the image on screen. So why would you load it by GDK and display by DX? GDK really does nothing extra...

Login to post a reply

Server time is: 2024-11-19 23:28:22
Your offset time is: 2024-11-19 23:28:22