[SDL] Direct3D with SDL

Enrico Zschemisch dirtbag at gmx.li
Fri May 23 07:07:01 PDT 2003


Hi,

I have a small problem: we want to create an engine that supports a DirectX and and OpenGL 
Renderer. Additionally we want this engine to be cross platform. For this we want to use SDL. My 
problem now is to create a Window for DirectX. My first try was to create the window via 
SDL_Surface and get the window context with GetActiveWindow(). This didn't work, I don't know 
why. And I can't program in DirectX, so I thought, I ask here, if anybody has done this before 
or if there is a chance to get this working. If not, it's not really a problem, I only need to 
rewrite the window init functions for using the directx Renderer, but I'm really lazy ;)


Best regards, Enrico






More information about the SDL mailing list