No need to signal the shader the AMD_vertex_shader_layer is enabled

This commit is contained in:
Vincent Lejeune 2014-12-07 18:48:45 +01:00
parent e491422bdc
commit 2e0bec5757

View File

@ -147,8 +147,6 @@ GLuint LoadShader(const char * file, unsigned type)
char versionString[20];
sprintf(versionString, "#version %d\n", irr_driver->getGLSLVersion());
std::string Code = versionString;
if (irr_driver->hasVSLayerExtension())
Code += "#extension GL_AMD_vertex_shader_layer : enable\n";
if (UserConfigParams::m_azdo)
Code += "#extension GL_ARB_bindless_texture : enable\n";
else