test/testshader.c
changeset 5535 96594ac5fd1a
parent 5236 c7be6ca3a0b8
child 5641 7b94c53df15c
equal deleted inserted replaced
5534:a3cfb0257c90 5535:96594ac5fd1a
       
     1 /*
       
     2   Copyright (C) 1997-2011 Sam Lantinga <slouken@libsdl.org>
       
     3 
       
     4   This software is provided 'as-is', without any express or implied
       
     5   warranty.  In no event will the authors be held liable for any damages
       
     6   arising from the use of this software.
       
     7 
       
     8   Permission is granted to anyone to use this software for any purpose,
       
     9   including commercial applications, and to alter it and redistribute it
       
    10   freely.
       
    11 */
     1 /* This is a simple example of using GLSL shaders with SDL */
    12 /* This is a simple example of using GLSL shaders with SDL */
     2 
    13 
     3 #include "SDL.h"
    14 #include "SDL.h"
     4 
    15 
     5 #ifdef HAVE_OPENGL
    16 #ifdef HAVE_OPENGL