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); } };