Skip to content

Commit

Permalink
Add gl_PointSize=1.0 to vertex snap shaders for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
xeolabs committed Sep 7, 2023
1 parent 8926d34 commit 9c7af8c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ export class TrianglesDataTextureSnapDepthRenderer {
src.push("isPerspective = float (isPerspectiveMatrix(projMatrix));");
}
src.push("gl_Position = clipPos;");
src.push("gl_PointSize = 1.0;"); // Windows needs this?
src.push(" }");
src.push("}");
return src;
Expand Down

0 comments on commit 9c7af8c

Please sign in to comment.