Windows-linux compatibility

Hello !

We are developping a game with SDL and opengl.
The game work correctly on Windows, but, I try to test him on a debian, with a
Nvidia 6800GT. It compil correctly, but, the screen stay black.
Maybe have you got an idea for my problem.

PS : Sorry for my english :wink:

I?m having the same problem running at 1024x768 but not at 800x600.
This happens only when running from the Linux console, but works right
in X11. I suspect it has to do with the kernel built-in driver, but I?m
no Linux expert.

Regards
Javier

— Jude wrote:> Hello !

We are developping a game with SDL and opengl.
The game work correctly on Windows, but, I try to test him on a
debian, with a
Nvidia 6800GT. It compil correctly, but, the screen stay black.
Maybe have you got an idea for my problem.

PS : Sorry for my english :wink:


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Jude a ?crit :

Hello !

We are developping a game with SDL and opengl.
The game work correctly on Windows, but, I try to test him on a debian, with a
Nvidia 6800GT. It compil correctly, but, the screen stay black.
Maybe have you got an idea for my problem.

Usually that’s because one of :

  • you forgot to lock/unlock your hardware surface
  • you are using a double buffer and don’t call SDL_Flip()
  • you are using a single buffer and don’t call SDL_UpdateRects()

Stephane