Merge pull request #6828 from ScoreUnder/syntaxfix2

Fix syntax error in GLSL_GS
This commit is contained in:
Markus Wick 2018-05-12 17:37:33 +02:00 committed by GitHub
commit be0f4f7fb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ layout(triangles) in;
layout(triangle_strip, max_vertices = %d) out;
flat out int layer;
void main() {
for (int j = 0; j < %d; layers.str(); ++j) {
for (int j = 0; j < %d; ++j) {
for (int i = 0; i < 3; ++i) {
layer = j;
gl_Layer = j;