]> git.sesse.net Git - movit/commitdiff
We switched to #version 300 es shaders for GLES a while back, so we now have round().
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 23 Mar 2014 11:38:17 +0000 (12:38 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 23 Mar 2014 11:38:17 +0000 (12:38 +0100)
init.cpp

index 4802c68712e3b69b086eb5877da28528fc457c3f..4b8c970df5f705fc372ed59effd732bab2fc0e95 100644 (file)
--- a/init.cpp
+++ b/init.cpp
@@ -283,13 +283,10 @@ bool check_extensions()
        // GLES generally doesn't use extensions as actively as desktop OpenGL.
        // For now, we say that for GLES, we require GLES 3, which has everything
        // we need.
-       //
-       // Since we use implicit #version 100, we don't have round(). We will
-       // fix this at some later stage.
        if (!epoxy_is_desktop_gl()) {
                if (epoxy_gl_version() >= 30) {
                        movit_srgb_textures_supported = true;
-                       movit_shader_rounding_supported = false;
+                       movit_shader_rounding_supported = true;
                } else {
                        return false;
                }