From 456ddc037ada0ae258525bf715f69dbc92ffb02a Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sun, 3 May 2020 02:12:03 +1000 Subject: [PATCH] GPU/OpenGL: Remove testing code which broke ES --- src/core/gpu_hw_shadergen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/gpu_hw_shadergen.cpp b/src/core/gpu_hw_shadergen.cpp index 2f7b1988c..35fe5b731 100644 --- a/src/core/gpu_hw_shadergen.cpp +++ b/src/core/gpu_hw_shadergen.cpp @@ -268,12 +268,12 @@ void GPU_HW_ShaderGen::DeclareVertexEntryPoint( { if (m_glsl) { - if (m_use_glsl_binding_layout && 0) + if (m_use_glsl_binding_layout) { u32 attribute_counter = 0; for (const char* attribute : attributes) { - ss << "layout(location = " << attribute_counter << ") " << attribute << ";\n"; + ss << "layout(location = " << attribute_counter << ") in " << attribute << ";\n"; attribute_counter++; } }