Merge pull request #22 from howard0su/osx

Fix OSX build
This commit is contained in:
AlexandreRouma
2020-10-22 02:53:50 +02:00
committed by GitHub
5 changed files with 66 additions and 8 deletions

View File

@ -104,8 +104,6 @@ namespace ImGui {
viewBandwidth = 1.0;
wholeBandwidth = 1.0;
glGenTextures(1, &textureId);
updatePallette(COLOR_MAP, 13);
}
@ -363,6 +361,7 @@ namespace ImGui {
}
void WaterFall::updateWaterfallTexture() {
glGenTextures(1, &textureId);
glBindTexture(GL_TEXTURE_2D, textureId);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);