]> git.sesse.net Git - movit/blobdiff - demo.cpp
Remove the check for movit_shader_rounding_supported, as we now demand 1.30 unconditi...
[movit] / demo.cpp
index dbbb4cba01ca5267413c4f3b56d58c624c84102f..ff910f09124edbb6d914315d746818b50feb921f 100644 (file)
--- a/demo.cpp
+++ b/demo.cpp
@@ -213,11 +213,7 @@ int main(int argc, char **argv)
        printf("Wrongly rounded x+0.48 or x+0.52 values: %d/510\n",
                movit_num_wrongly_rounded);
        if (movit_num_wrongly_rounded > 0) {
-               if (movit_shader_rounding_supported) {
-                       printf("Rounding off in the shader to compensate.\n");
-               } else {
-                       printf("No shader roundoff available; cannot compensate.\n");
-               }
+               printf("Rounding off in the shader to compensate.\n");
        }
        
        unsigned img_w, img_h;