Results 1 to 2 of 2

Thread: OpenGL/SDL screen only pops and close

  1. #1
    Newbie Newbie
    Join Date
    Oct 2013
    Posts
    1

    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
    Newbie Frequent Contributor
    Join Date
    Mar 2016
    Posts
    896
    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.

Similar Threads

  1. Replies: 0
    Last Post: 01-17-2016, 09:49 PM
  2. Program crash, when I close the OpenGL window
    By in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 06-16-2005, 06:19 AM
  3. Error when I close the OpenGL window
    By in forum OpenGL: Basic Coding
    Replies: 11
    Last Post: 03-22-2005, 02:44 PM
  4. Threaded gl window "pops"
    By bumby in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 08-25-2003, 03:50 PM
  5. Not quite openGL but close
    By tdavie in forum OpenGL: macOS
    Replies: 1
    Last Post: 12-12-2000, 06:29 AM

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