Fixed Rendering bug in viewport arrays example #332
This commit is contained in:
parent
55da334ba1
commit
3e95e76cee
2 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ void main(void)
|
|||
|
||||
// Set the viewport index that the vertex will be emitted to
|
||||
gl_ViewportIndex = gl_InvocationID;
|
||||
|
||||
gl_PrimitiveID = gl_PrimitiveIDIn;
|
||||
EmitVertex();
|
||||
}
|
||||
EndPrimitive();
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue