1
0
Fork 0
mirror of https://github.com/gwm17/implot.git synced 2024-11-22 18:28:53 -05:00

set heatmap tex back to GL_NEAREST...oops!

This commit is contained in:
Evan Pezent 2021-07-03 14:30:29 -07:00
parent 11a7084b90
commit 8f1655b975

View File

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