Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: OpenGL/SDL screen only pops and close

  1. #1
    Newbie Newbie
    Join Date
    Oct 2013

    OpenGL/SDL screen only pops and close

    can you help me on this one!
    as the tittle say when i run the program the screen only pops and close
    but it only happens when i add texture to my code without the texture the screen would run ok.
    the lighting and color works fine.

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Apr 2010
    Hmm, there is just not enough information in your post to do more than guess at the problem, please see the Forum Posting Guidelines for suggestions how to ask good questions. My guess would be that you have some kind of memory problem (perhaps out of bounds access) in your texture handling that crashes the application. You could try running your program under a debugger to find the location it crashes at and work your way backwards from there to find the cause.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts