From 8f1655b97510e68a85ae24e8ad87a642760d0639 Mon Sep 17 00:00:00 2001 From: Evan Pezent Date: Sat, 3 Jul 2021 14:30:29 -0700 Subject: [PATCH] set heatmap tex back to GL_NEAREST...oops! --- backends/implot_impl_opengl3.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backends/implot_impl_opengl3.cpp b/backends/implot_impl_opengl3.cpp index 08df575..f117c24 100644 --- a/backends/implot_impl_opengl3.cpp +++ b/backends/implot_impl_opengl3.cpp @@ -61,8 +61,8 @@ struct HeatmapData HeatmapData() { glGenTextures(1, &HeatmapTexID); glBindTexture(GL_TEXTURE_2D, HeatmapTexID); - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); + glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); + glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); glBindTexture(GL_TEXTURE_2D, 0); } };