mirror of
https://github.com/tsoding/boomer
synced 2024-11-14 18:12:47 +00:00
(#12) Do not interpolate textures
This commit is contained in:
parent
8219a508b8
commit
95461f11e9
@ -174,10 +174,10 @@ proc main() =
|
|||||||
|
|
||||||
glTexParameteri(GL_TEXTURE_2D,
|
glTexParameteri(GL_TEXTURE_2D,
|
||||||
GL_TEXTURE_MIN_FILTER,
|
GL_TEXTURE_MIN_FILTER,
|
||||||
GL_LINEAR)
|
GL_NEAREST)
|
||||||
glTexParameteri(GL_TEXTURE_2D,
|
glTexParameteri(GL_TEXTURE_2D,
|
||||||
GL_TEXTURE_MAG_FILTER,
|
GL_TEXTURE_MAG_FILTER,
|
||||||
GL_LINEAR)
|
GL_NEAREST)
|
||||||
|
|
||||||
glutMainLoop()
|
glutMainLoop()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user