supagu
09-15-2005, 05:29 AM
i have a c++ dll in which i call
SDL_SetVideoMode with the flag:
SDL_OPENGL to init opengl for me.
Now i'm using this c++ dll in a c# project i create my opengl window/device then at the end of the c# method it closes the c# application (calls Dispose method, where normally it would call my paint method)
any ideas? maybe sdl is setting opengl up incorrectly for window mode for me or somehting?
SDL_SetVideoMode with the flag:
SDL_OPENGL to init opengl for me.
Now i'm using this c++ dll in a c# project i create my opengl window/device then at the end of the c# method it closes the c# application (calls Dispose method, where normally it would call my paint method)
any ideas? maybe sdl is setting opengl up incorrectly for window mode for me or somehting?