mirror of
https://github.com/stenzek/duckstation.git
synced 2025-07-29 06:11:47 +00:00
PostProcessing/GLSL: Fix compile error with interface blocks
This commit is contained in:
parent
0522b6ffb5
commit
13233cc82e
@ -379,7 +379,7 @@ std::string PostProcessingGLSLShaderGen::GeneratePostProcessingFragmentShader(co
|
||||
DeclareTexture(ss, "samp0", 0);
|
||||
|
||||
if (m_use_glsl_interface_blocks)
|
||||
ss << "layout(location = 0) in VertexData { vec2 v_tex0; }\n";
|
||||
ss << "layout(location = 0) in VertexData { vec2 v_tex0; };\n";
|
||||
else
|
||||
ss << "layout(location = 0) in vec2 v_tex0;\n";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user