Results 1 to 3 of 3

Thread: libSDL + OpenGL + GeForce2 problem

  1. #1

    libSDL + OpenGL + GeForce2 problem

    I am trying to convert an application from Glut to SDL, but I'm having problems. I can open the screen with SDL, but openGL refuses to perform any of the drawing commands other than clearing the screen. I tried one of the tutorials on combining openGL with SDL with the same results. I set all the SDL_GL_SetAttributes properly, did the SDL_GL_SwapBuffer, etc. and there are no errors being reported, but nothing on the screen either. The drawing code works fine when using Glut.

    My thoughts are that there is a compatibility problem with SDL and the NVidia drivers, in particular with the frame buffering. Any ideas out there?

  2. #2
    Senior Member Regular Contributor
    Join Date
    Apr 2002
    St. Louis, MO USA

    Re: libSDL + OpenGL + GeForce2 problem

    I happen to know that SDL works fine with Geforce cards, but I dont have a clue what is wrong with your program.

    [This message has been edited by ioquan (edited 08-03-2002).]

  3. #3
    Member Contributor
    Join Date
    Aug 2002

    Re: libSDL + OpenGL + GeForce2 problem

    it works fine for me too - under win32 and Linux.
    dumb question, but you are requsting a doublebuffer surface from SDL (with SDL_GLSetAttribute(), not SDL_DOUBLEBUFFER in the SDL_SetVideoMode() ), setting your draw buffer to GL_BACK and doing SDL_GLswapBuffers() ?(or whatever it's called - i've wrapped it, can't remember).

Similar Threads

  1. Gainward Geforce2 Ti 450 problem
    By in forum OpenGL: User Software
    Replies: 1
    Last Post: 06-03-2002, 08:49 AM
  2. geforce2 go + opengl - 1280 X 1024 resolution problem
    By zaphod in forum OpenGL: User Software
    Replies: 0
    Last Post: 05-01-2002, 07:51 PM
  3. WinXP & GeForce2 MX200 - 32mb - PROBLEM! HELP!
    By in forum OpenGL: User Software
    Replies: 3
    Last Post: 03-26-2002, 09:38 PM
  4. WinXP PRO & GeForce2 MX400 - 64mb - PROBLEM! HELP!
    By whitetiger in forum OpenGL: User Software
    Replies: 0
    Last Post: 03-23-2002, 04:36 AM
  5. Texture compression problem on a GeForce2
    By Sancho in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 06-07-2001, 07:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean