Fixed Rendering bug in viewport arrays example #332

This commit is contained in:
voidstorm 2017-06-19 22:32:09 +02:00
parent 55da334ba1
commit 3e95e76cee
2 changed files with 1 additions and 1 deletions

View file

@ -38,7 +38,7 @@ void main(void)
// Set the viewport index that the vertex will be emitted to // Set the viewport index that the vertex will be emitted to
gl_ViewportIndex = gl_InvocationID; gl_ViewportIndex = gl_InvocationID;
gl_PrimitiveID = gl_PrimitiveIDIn;
EmitVertex(); EmitVertex();
} }
EndPrimitive(); EndPrimitive();