Fix green video on some OpenGL implementations.

GL_LUMINANCE is deprecated.