Remove dead glOrtho

This commit is contained in:
rexim 2019-10-31 20:51:45 +07:00
parent b2ce421f6b
commit 277b2e617e

View File

@ -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)