From 40b2da87db59162baaa41710d2cc95101f1466f1 Mon Sep 17 00:00:00 2001 From: Mel Date: Wed, 26 Oct 2022 17:15:45 +0200 Subject: Turn off viewer and mipmaps --- src/main.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 2589555..dcac677 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -50,14 +50,6 @@ void run() { glViewport(0, 0, w, h); }); - auto example_image = MC::GFX::Image::RawImage(10, 10, 3); - for (uint8_t x = 0; x < 10; x++) { - for (uint8_t y = 0; y < 10; y++) { - example_image.add({static_cast(x * 20), 0, static_cast(y * 20)}); - } - } - auto viewer = MC::Util::ImageViewer(example_image); - auto image = MC::GFX::Image::PPMParser(MC::Assets::Images::atlas).parse(); auto texture = MC::GFX::Texture(image); @@ -114,8 +106,6 @@ void run() { render(chunk.mesh.value(), texture); } - viewer.render(); - time++; } } -- cgit 1.4.1