test/testshader.c
changeset 6256 1d905b13b102
parent 5641 7b94c53df15c
child 7191 75360622e65f
equal deleted inserted replaced
6255:25bfc0f21c56 6256:1d905b13b102
     9   including commercial applications, and to alter it and redistribute it
     9   including commercial applications, and to alter it and redistribute it
    10   freely.
    10   freely.
    11 */
    11 */
    12 /* This is a simple example of using GLSL shaders with SDL */
    12 /* This is a simple example of using GLSL shaders with SDL */
    13 
    13 
       
    14 #if 1 /* FIXME: Rework this using the 2.0 API */
       
    15 #include <stdio.h>
       
    16 
       
    17 int main(int argc, char *argv[])
       
    18 {
       
    19     printf("FIXME\n");
       
    20     return 0;
       
    21 }
       
    22 #else
    14 #include "SDL.h"
    23 #include "SDL.h"
    15 
    24 
    16 #ifdef HAVE_OPENGL
    25 #ifdef HAVE_OPENGL
    17 
    26 
    18 #include "SDL_opengl.h"
    27 #include "SDL_opengl.h"
   492     printf("No OpenGL support on this system\n");
   501     printf("No OpenGL support on this system\n");
   493     return 1;
   502     return 1;
   494 }
   503 }
   495 
   504 
   496 #endif /* HAVE_OPENGL */
   505 #endif /* HAVE_OPENGL */
       
   506 #endif
   497 
   507 
   498 /* vi: set ts=4 sw=4 expandtab: */
   508 /* vi: set ts=4 sw=4 expandtab: */