Fixed some ugly compilation errors
Sample_GL now uses CShader class the same as normal code. It should be left that way for testing(?)