mirror of
https://github.com/gwm17/implot.git
synced 2024-11-26 12:18:52 -05:00
set heatmap tex back to GL_NEAREST...oops!
This commit is contained in:
parent
11a7084b90
commit
8f1655b975
|
@ -61,8 +61,8 @@ struct HeatmapData
|
||||||
HeatmapData() {
|
HeatmapData() {
|
||||||
glGenTextures(1, &HeatmapTexID);
|
glGenTextures(1, &HeatmapTexID);
|
||||||
glBindTexture(GL_TEXTURE_2D, HeatmapTexID);
|
glBindTexture(GL_TEXTURE_2D, HeatmapTexID);
|
||||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
|
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
|
||||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
|
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
|
||||||
glBindTexture(GL_TEXTURE_2D, 0);
|
glBindTexture(GL_TEXTURE_2D, 0);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user