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 4802c68..4b8c970 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;
                }