aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--window_texture.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/window_texture.c b/window_texture.c
index 7d5d4b9..1c73ed0 100644
--- a/window_texture.c
+++ b/window_texture.c
@@ -152,9 +152,11 @@ int window_texture_on_resize(WindowTexture *self) {
glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR );
glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR );
+ /*
float fLargest = 0.0f;
glGetFloatv(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, &fLargest);
glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT, fLargest);
+ */
glBindTexture(GL_TEXTURE_2D, 0);