From 7c822561dc858cd47c7028dd9dc91e564061791d Mon Sep 17 00:00:00 2001 From: Stretto Date: Sat, 4 Jun 2016 13:29:02 -0500 Subject: [PATCH] Update gamehelpers.d --- gamehelpers.d | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gamehelpers.d b/gamehelpers.d index 5c063cd..b7c6cfa 100644 --- a/gamehelpers.d +++ b/gamehelpers.d @@ -258,7 +258,10 @@ final class OpenGlTexture { glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); - + + glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); + glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); + glTexImage2D( GL_TEXTURE_2D, 0,