src/render/opengles2/SDL_shaders_gles2.h
changeset 5260 62d2bc792002
parent 5204 daa5463466c5
child 5262 b530ef003506
equal deleted inserted replaced
5259:6a65c1fc07af 5260:62d2bc792002
     1 /*
     1 /*
     2     SDL - Simple DirectMedia Layer
     2     SDL - Simple DirectMedia Layer
       
     3     Copyright (C) 1997-2010 Sam Lantinga
     3     Copyright (C) 2010 itsnotabigtruck.
     4     Copyright (C) 2010 itsnotabigtruck.
     4 
     5 
     5     Permission is hereby granted, free of charge, to any person obtaining a
     6     This library is free software; you can redistribute it and/or
     6     copy of this software and associated documentation files (the "Software"),
     7     modify it under the terms of the GNU Lesser General Public
     7     to deal in the Software without restriction, including without limitation
     8     License as published by the Free Software Foundation; either
     8     the rights to use, copy, modify, merge, publish, distribute, sublicense,
     9     version 2.1 of the License, or (at your option) any later version.
     9     and/or sell copies of the Software, and to permit persons to whom the
       
    10     Software is furnished to do so, subject to the following conditions:
       
    11 
    10 
    12     The above copyright notice and this permission notice shall be included in
    11     This library is distributed in the hope that it will be useful,
    13     all copies or substantial portions of the Software.
    12     but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
       
    14     Lesser General Public License for more details.
    14 
    15 
    15     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    16     You should have received a copy of the GNU Lesser General Public
    16     IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    17     License along with this library; if not, write to the Free Software
    17     FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    18     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    18     AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    19 
    19     LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
    20     Sam Lantinga
    20     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
    21     slouken@libsdl.org
    21     DEALINGS IN THE SOFTWARE.
       
    22 */
    22 */
    23 
       
    24 #include "SDL_config.h"
    23 #include "SDL_config.h"
    25 
    24 
    26 #if SDL_VIDEO_RENDER_OGL_ES2
    25 #if SDL_VIDEO_RENDER_OGL_ES2
    27 
    26 
    28 #ifndef SDL_shaderdata_h_
    27 #ifndef SDL_shaderdata_h_