X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=demo.cpp;h=dd04c84314160ccdec170672ae8244092efaa2ac;hp=dbbb4cba01ca5267413c4f3b56d58c624c84102f;hb=4f45f136fd2f652e923463189c5b8f74464a7268;hpb=1349c2cabb17a3637aa5bc2520c058333d8d48d7 diff --git a/demo.cpp b/demo.cpp index dbbb4cb..dd04c84 100644 --- a/demo.cpp +++ b/demo.cpp @@ -1,4 +1,3 @@ -#define GL_GLEXT_PROTOTYPES 1 #define NO_SDL_GLEXT 1 #define WIDTH 1280 @@ -213,11 +212,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;