Browse Source

core supports points now

Kajetan Johannes Hammerle 3 years ago
parent
commit
b3d044173e
1 changed files with 1 additions and 2 deletions
  1. 1 2
      Game.cpp

+ 1 - 2
Game.cpp

@@ -55,8 +55,7 @@ void Game::render(float lag) {
         glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
     }
     noiceBuffer.bindTextureTo(0);
-    emptyBuffer.drawPoints(0);
-    glDrawArrays(GL_POINTS, 0, 64 * 64 * 64);
+    emptyBuffer.drawPoints(64 * 64 * 64);
     glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
 }