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: Blank Screen

  1. #1
    Junior Member Regular Contributor
    Join Date
    Mar 2009
    Seattle, WA

    Blank Screen

    I ran my program on Linux for the first time and get...a blank screen! glClear() is working and glDrawElements()/DrawArrays() is definitely being called, but nothing appears onscreen. The same code runs fine on Mac and Windows. Any ideas why?

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Jun 2013
    Quote Originally Posted by JoshKlint View Post
    Any ideas why?
    Nope. Are you checking all of the implementation limits with glGet() and ensuring that you stay within those limits? Otherwise, it's entirely possible that the program will work on one implementation and not another. Are you checking for errors with glGetError()? Some implementations are more fault-tolerant than others.

Posting Permissions

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