test/testdyngles.c
changeset 3139 7f684f249ec9
parent 3099 82e60908fab1
child 3410 f4bc25567731
     1.1 --- a/test/testdyngles.c	Fri May 15 15:47:37 2009 +0000
     1.2 +++ b/test/testdyngles.c	Sat May 23 22:41:08 2009 +0000
     1.3 @@ -118,10 +118,10 @@
     1.4      /* you may want to change these according to the platform */
     1.5      video_w = 320;
     1.6      video_h = 480;
     1.7 -    #ifdef __QNXNTO__
     1.8 -       video_h = 640;
     1.9 -       video_w = 480;
    1.10 -    #endif /* __QNXNTO__ */
    1.11 +#ifdef __QNXNTO__
    1.12 +    video_h = 640;
    1.13 +    video_w = 480;
    1.14 +#endif /* __QNXNTO__ */
    1.15  
    1.16      if (argv[1]) {
    1.17          gl_library = argv[1];
    1.18 @@ -153,11 +153,11 @@
    1.19          pixels[3 * i + 2] = rand() % 250 - 125;
    1.20      }
    1.21  
    1.22 -    #ifdef __QNXNTO__
    1.23 -       f.glViewport(0, 0, video_h, video_w);
    1.24 -    #else
    1.25 -       f.glViewport(0, 0, video_w, video_h);
    1.26 -    #endif /* __QNXNTO__ */
    1.27 +#ifdef __QNXNTO__
    1.28 +    f.glViewport(0, 0, video_h, video_w);
    1.29 +#else
    1.30 +    f.glViewport(0, 0, video_w, video_h);
    1.31 +#endif /* __QNXNTO__ */
    1.32  
    1.33      f.glMatrixMode(GL_PROJECTION);
    1.34      f.glLoadIdentity();