Fixed the OpenGL detection code.

2 files changed