aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-10-15 22:00:38 +0200
committerdec05eba <dec05eba@protonmail.com>2021-10-15 22:00:38 +0200
commit773b13bf4d2d9a10f1fa43b5f863013d3b0fc85b (patch)
treec568ee6b3dc013ca9557a1e74654ab0ffba39738
parent91747213c5e99f2d4d98208e92a4bd1a986d36a9 (diff)
Do not set anisotropyHEADmaster
-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);