diff options
author | makamys <makamys@outlook.com> | 2022-06-09 22:11:04 +0200 |
---|---|---|
committer | makamys <makamys@outlook.com> | 2022-06-10 19:20:58 +0200 |
commit | 75b53acdf6859666549279d66b39309b0f216b7a (patch) | |
tree | 53e56e24b85a26ff41df9f78409a5a2e9159f7e2 /src/main/java/makamys | |
parent | 82bc5d0f2c6fb9952501d768519760cd110a925f (diff) | |
download | Neodymium-75b53acdf6859666549279d66b39309b0f216b7a.tar.gz Neodymium-75b53acdf6859666549279d66b39309b0f216b7a.tar.bz2 Neodymium-75b53acdf6859666549279d66b39309b0f216b7a.zip |
Disable wireframe
Diffstat (limited to 'src/main/java/makamys')
-rw-r--r-- | src/main/java/makamys/neodymium/renderer/NeoRenderer.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/makamys/neodymium/renderer/NeoRenderer.java b/src/main/java/makamys/neodymium/renderer/NeoRenderer.java index 54d1763..cd15bda 100644 --- a/src/main/java/makamys/neodymium/renderer/NeoRenderer.java +++ b/src/main/java/makamys/neodymium/renderer/NeoRenderer.java @@ -392,9 +392,9 @@ public class NeoRenderer { glBindVertexArray(VAO); GL11.glDisable(GL11.GL_BLEND); - GL11.glPolygonMode(GL11.GL_FRONT_AND_BACK, GL11.GL_LINE); + //GL11.glPolygonMode(GL11.GL_FRONT_AND_BACK, GL11.GL_LINE); glMultiDrawArrays(GL_TRIANGLES, piFirst[0], piCount[0]); - GL11.glPolygonMode(GL11.GL_FRONT_AND_BACK, GL11.GL_FILL); + //GL11.glPolygonMode(GL11.GL_FRONT_AND_BACK, GL11.GL_FILL); GL11.glEnable(GL11.GL_BLEND); GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA); //glMultiDrawArrays(GL_TRIANGLES, piFirst[1], piCount[1]); |