Skip to content
This repository was archived by the owner on Mar 19, 2025. It is now read-only.

Commit 80fe1ff

Browse files
committed
give glTexParameteri with GL_TEXTURE_MAG_FILTER allowed value - #9
1 parent 6b62279 commit 80fe1ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ sub ourBuildTextures
499499
# Use MipMap
500500
print "Using Mipmap\n";
501501
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER,
502-
GL_NEAREST_MIPMAP_LINEAR);
502+
GL_NEAREST);
503503
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,
504504
GL_NEAREST_MIPMAP_LINEAR);
505505
# The GLU library helps us build MipMaps for our texture.

0 commit comments

Comments
 (0)