]> git.sesse.net Git - nageru/commitdiff
Disable dither; we don't need it.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 2 Aug 2018 15:20:24 +0000 (17:20 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 2 Aug 2018 15:20:24 +0000 (17:20 +0200)
flow.cpp

index 5747237237c2baec6e59559d6ac4ff3d524340c3..bb0c096ae82be72cc9d7eb2154ff4ff357d0a78b 100644 (file)
--- a/flow.cpp
+++ b/flow.cpp
@@ -2042,6 +2042,8 @@ int main(int argc, char **argv)
        SDL_GLContext context = SDL_GL_CreateContext(window);
        assert(context != nullptr);
 
+       glDisable(GL_DITHER);
+
        // FIXME: Should be part of DISComputeFlow (but needs to be initialized
        // before all the render passes).
        float vertices[] = {