diff --git a/MCRenderer.cpp b/MCRenderer.cpp index d9c81c7..051ad3e 100644 --- a/MCRenderer.cpp +++ b/MCRenderer.cpp @@ -84,5 +84,5 @@ void MCRenderer::render(float delta) { // Draw all layers as polygons glDrawArrays(GL_POINTS, 0, size_x * size_y * size_z); - glPolygonMode(GL_FRONT_AND_BACK, GL_FILL); + glPolygonMode(GL_FRONT_AND_BACK, Input::is_key_down(GLFW_KEY_X) ? GL_LINE : GL_FILL); } \ No newline at end of file