Revert "Added default precision qualifier in fragment shaders"
This reverts commit c23da9e855
.
This commit is contained in:
parent
08e3a9ea13
commit
795f3148dc
@ -65,11 +65,6 @@ GLuint ShaderBase::loadShader(const std::string &file, unsigned type)
|
||||
|
||||
std::ostringstream code;
|
||||
code << "#version " << CVS->getGLSLVersion()<<"\n";
|
||||
|
||||
//shader compilation fails with some drivers if there is no precision qualifier
|
||||
if (type == GL_FRAGMENT_SHADER)
|
||||
code << "precision mediump float;\n";
|
||||
|
||||
if (CVS->isAMDVertexShaderLayerUsable())
|
||||
code << "#extension GL_AMD_vertex_shader_layer : enable\n";
|
||||
if (CVS->isAZDOEnabled())
|
||||
|
Loading…
Reference in New Issue
Block a user