mirror of
https://github.com/tsoding/boomer
synced 2024-11-18 09:28:37 +00:00
Remove dead glOrtho
This commit is contained in:
parent
b2ce421f6b
commit
277b2e617e
@ -236,10 +236,6 @@ proc main() =
|
|||||||
|
|
||||||
glEnable(GL_TEXTURE_2D)
|
glEnable(GL_TEXTURE_2D)
|
||||||
|
|
||||||
glOrtho(0.0, screenshot.width.float,
|
|
||||||
screenshot.height.float, 0.0,
|
|
||||||
-1.0, 1.0)
|
|
||||||
|
|
||||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST)
|
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST)
|
||||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST)
|
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST)
|
||||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_BORDER)
|
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_BORDER)
|
||||||
|
Loading…
Reference in New Issue
Block a user