GPU/OpenGL: Remove testing code which broke ES

This commit is contained in:
Connor McLaughlin 2020-05-03 02:12:03 +10:00
parent edb12234d9
commit 456ddc037a

View file

@ -268,12 +268,12 @@ void GPU_HW_ShaderGen::DeclareVertexEntryPoint(
{ {
if (m_glsl) if (m_glsl)
{ {
if (m_use_glsl_binding_layout && 0) if (m_use_glsl_binding_layout)
{ {
u32 attribute_counter = 0; u32 attribute_counter = 0;
for (const char* attribute : attributes) for (const char* attribute : attributes)
{ {
ss << "layout(location = " << attribute_counter << ") " << attribute << ";\n"; ss << "layout(location = " << attribute_counter << ") in " << attribute << ";\n";
attribute_counter++; attribute_counter++;
} }
} }