PDA

View Full Version : Blank Screen



JoshKlint
09-16-2013, 07:45 PM
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?

GClements
09-16-2013, 10:40 PM
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.