Add missing OpenGL error checking
Fix fragment shader alpha channel

The alpha channel is default to 1.0 in some OpenGL implementations but
is default to 0 in others, therefore rendering nothing.