OpenGL Flickering Problem

This is a discussion on OpenGL Flickering Problem within the Game Programming forums, part of the General Programming Boards category; I've written a basic version of a certain game in C on OpenGL. Now that it's completed, I'm trying to ...

  1. #1
    Registered User
    Join Date
    Nov 2011
    Posts
    3

    OpenGL Flickering Problem

    I've written a basic version of a certain game in C on OpenGL.

    Now that it's completed, I'm trying to clean it up some. One of the things I've noticed for awhile now is that my program flickers each time I move my character on the screen, which seems to me like it's just redrawing everything all the time.

    What are some basic troubleshooting techniques to reduce flickering? I've heard that if you are using shading that your normals can be a little off which could be the culprit. I'm also about to experiment with reducing my swapBuffers() calls because I think that may be an issue as well.

    Any other thoughts/ideas would be greatly appreciated.


    EDIT: Fixed the problem. I did have one too many calls to swapBuffers() that I must have overlooked. This thread can be ignored/locked/whatever now
    Last edited by Das_Crusader; 12-03-2011 at 02:29 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. flickering
    By ElastoManiac in forum Windows Programming
    Replies: 10
    Last Post: 12-23-2005, 08:26 AM
  2. SDL flickering problem
    By sand_man in forum Game Programming
    Replies: 0
    Last Post: 07-05-2004, 09:29 PM
  3. graphics flickering problem
    By Benzakhar in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 02-23-2004, 05:15 PM
  4. flickering
    By lambs4 in forum Game Programming
    Replies: 9
    Last Post: 07-25-2002, 03:51 PM
  5. Flickering
    By Visu A in forum C Programming
    Replies: 1
    Last Post: 02-27-2002, 12:48 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21