]> git.sesse.net Git - movit/blobdiff - demo.cpp
Change the .dot/.frag writing to be dependent on an init_movit() parameter instead...
[movit] / demo.cpp
index f5434cc1dd5d40f293bd9b9ec2d5c21534e9b812..02c923c4dba60c6a814ca9a990e56b270705e4eb 100644 (file)
--- a/demo.cpp
+++ b/demo.cpp
@@ -155,7 +155,7 @@ int main(int argc, char **argv)
        SDL_SetVideoMode(WIDTH, HEIGHT, 0, SDL_OPENGL);
        SDL_WM_SetCaption("OpenGL window", NULL);
 
-       init_movit(".");
+       init_movit(".", MOVIT_DEBUG_ON);
        printf("GPU texture subpixel precision: about %.1f bits\n",
                log2(1.0f / movit_texel_subpixel_precision));