diff options
author | rtk0c <[email protected]> | 2025-04-24 13:18:36 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2025-04-25 12:08:29 -0700 |
commit | c62f0470273a3f4d12e5702398dc4b6e4c6f31fb (patch) | |
tree | 65fa6c493f3115973944da5075037d68afd4ba3f /src/ogl.cpp | |
parent | 67911092f6950e80fefcf0783f01310427f472ec (diff) |
Flip texture rendered
I'm not sure if this is the correct thing to do. Need to think through the memory layout of _bitmap, etc. again later
Diffstat (limited to 'src/ogl.cpp')
-rw-r--r-- | src/ogl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ogl.cpp b/src/ogl.cpp index 19e49cc..7d160e2 100644 --- a/src/ogl.cpp +++ b/src/ogl.cpp @@ -11,7 +11,7 @@ OglImage::OglImage() { // Setup filtering parameters for display glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); + glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); } OglImage::~OglImage() { |