GL3: Combined vert shaders, fixed half pixel offset
Fixed warnings and errors for Visual C++ 2010.