[fixed] DX8/9 with SDL

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
Halifax
Posts: 1424
Joined: Sun Apr 29, 2007 10:40 pm
Location: $9D95

[fixed] DX8/9 with SDL

Post by Halifax »

This isn't really a bug report, but more a useful addition.

Patch Tracker: https://sourceforge.net/tracker/index.p ... tid=540678
Demo Download: 01.HelloWorld (1 MB) (includes SDL.dll)
Description: Currently, Irrlicht only supports an OpenGL driver under SDL. With this
patch, the user is allowed to use Direct3D8 and Direct3D9 drivers under
SDL.
Screenshot:
Image
(The screenshot doesn't show the black SDL cursor, but it's there. :P)
All I did was build Irrlicht with _IRR_USE_SDL_DEVICE_ and changed EDT_SOFTWARE to EDT_DIRECT3D9 in 01.HelloWorld.
TheQuestion = 2B || !2B
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

added to trunk in r2286. Thanks.
Now to get rid of those memory leaks because SDL device doesn't catch the window-close message (got stuck in quake map example with no alt+f4! :roll:)

edit: eh, no memory leaks now.. must have needed a full recompile or something. still need alt+f4 though
Last edited by bitplane on Mon Mar 16, 2009 2:52 am, edited 2 times in total.
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
Halifax
Posts: 1424
Joined: Sun Apr 29, 2007 10:40 pm
Location: $9D95

Post by Halifax »

bitplane wrote:added to trunk in r2286. Thanks.
Now to get rid of those memory leaks because SDL device doesn't catch the window-close message (got stuck in quake map example with no alt+f4! :roll:)

edit: eh, no memory leaks now.. must have needed a full recompile or something. still need alt+f4 though
Cool. And do you want me the add that in with a patch, or do you have that?
TheQuestion = 2B || !2B
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

Too late, I did it :)
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
Halifax
Posts: 1424
Joined: Sun Apr 29, 2007 10:40 pm
Location: $9D95

Post by Halifax »

bitplane wrote:Too late, I did it :)
Oh, haha, well then my topic is null and void. :P
TheQuestion = 2B || !2B
Post Reply