Skip to content

Commit

Permalink
Slicing texture bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
salvipeter committed Aug 12, 2019
1 parent 29053f0 commit 95106ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MyViewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ void MyViewer::draw() {
glEnable(GL_TEXTURE_GEN_S);
glEnable(GL_TEXTURE_GEN_T);
} else if (visualization == Visualization::SLICING) {
glBindTexture(GL_TEXTURE_1D, isophote_texture);
glBindTexture(GL_TEXTURE_1D, slicing_texture);
glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_DECAL);
glEnable(GL_TEXTURE_1D);
}
Expand Down

0 comments on commit 95106ab

Please sign in to comment.