re-bind texture in right circumstances
This commit is contained in:
@@ -163,7 +163,7 @@ void Raster::bind(bool linear) {
|
||||
free(img);
|
||||
img = nullptr;
|
||||
textured = true;
|
||||
} else {
|
||||
} else if (textured) {
|
||||
glBindTexture(GL_TEXTURE_2D, texture);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user