nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75e2bbb
)
gamnit: fix pixelated changing only magnification behavior
author
Alexis Laferrière
<alexis.laf@xymus.net>
Sat, 29 Apr 2017 12:56:13 +0000
(08:56 -0400)
committer
Alexis Laferrière
<alexis.laf@xymus.net>
Mon, 1 May 2017 14:40:41 +0000
(10:40 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/gamnit/textures.nit
patch
|
blob
|
history
diff --git
a/lib/gamnit/textures.nit
b/lib/gamnit/textures.nit
index
3b72a51
..
9b980fb
100644
(file)
--- a/
lib/gamnit/textures.nit
+++ b/
lib/gamnit/textures.nit
@@
-124,7
+124,6
@@
class GamnitRootTexture
glBindTexture(gl_TEXTURE_2D, gl_texture)
var param = if pixelated then gl_NEAREST else gl_LINEAR
- glTexParameteri(gl_TEXTURE_2D, gl_TEXTURE_MIN_FILTER, param)
glTexParameteri(gl_TEXTURE_2D, gl_TEXTURE_MAG_FILTER, param)
end