Jesse Good
Jesse Good

Reputation: 52365

Can't figure out why this OpenGL program is not rendering

I compiled Joe Groff's "An intro to modern OpenGL: Hello World: The Slideshow. I have compiled it using Mingw-w64 with freeglut, Glut 3.7 and a version that makes my own context.

However, when I run the program, the image doesn't fade back and forth like its supposed to and I can't figure out why (spent a whole day on it).

Also, I have examined most of inputs and outputs except for the shaders and cant find anything wrong, anyone have any ideas?

Upvotes: 0

Views: 264

Answers (1)

Eric
Eric

Reputation: 6425

Most likely, your OpenGL version doesn't support shaders. Are you by any chance running in a virtual machine or via remote desktop? These tend to only support OpenGL 1.1 even if the graphics card/drivers are much more recent, and OpenGL 1.1 does not support shaders. It's also possible that if you're using an older laptop with an integrated Intel GPU that shaders are not (properly) supported.

Upvotes: 1

Related Questions