src/render/opengles2/SDL_render_gles2.c
changeset 5535 96594ac5fd1a
parent 5503 be88d105e91c
child 6042 ff2ab1e8d516
equal deleted inserted replaced
5534:a3cfb0257c90 5535:96594ac5fd1a
     1 /*
     1 /*
     2     SDL - Simple DirectMedia Layer
     2   Simple DirectMedia Layer
     3     Copyright (C) 1997-2011 Sam Lantinga
     3   Copyright (C) 1997-2011 Sam Lantinga <slouken@libsdl.org>
     4     Copyright (C) 2010 itsnotabigtruck.
     4 
     5 
     5   This software is provided 'as-is', without any express or implied
     6     This library is free software; you can redistribute it and/or
     6   warranty.  In no event will the authors be held liable for any damages
     7     modify it under the terms of the GNU Lesser General Public
     7   arising from the use of this software.
     8     License as published by the Free Software Foundation; either
     8 
     9     version 2.1 of the License, or (at your option) any later version.
     9   Permission is granted to anyone to use this software for any purpose,
    10 
    10   including commercial applications, and to alter it and redistribute it
    11     This library is distributed in the hope that it will be useful,
    11   freely, subject to the following restrictions:
    12     but WITHOUT ANY WARRANTY; without even the implied warranty of
    12 
    13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    13   1. The origin of this software must not be misrepresented; you must not
    14     Lesser General Public License for more details.
    14      claim that you wrote the original software. If you use this software
    15 
    15      in a product, an acknowledgment in the product documentation would be
    16     You should have received a copy of the GNU Lesser General Public
    16      appreciated but is not required.
    17     License along with this library; if not, write to the Free Software
    17   2. Altered source versions must be plainly marked as such, and must not be
    18     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    18      misrepresented as being the original software.
    19 
    19   3. This notice may not be removed or altered from any source distribution.
    20     Sam Lantinga
       
    21     slouken@libsdl.org
       
    22 */
    20 */
    23 #include "SDL_config.h"
    21 #include "SDL_config.h"
    24 
    22 
    25 #if SDL_VIDEO_RENDER_OGL_ES2 && !SDL_RENDER_DISABLED
    23 #if SDL_VIDEO_RENDER_OGL_ES2 && !SDL_RENDER_DISABLED
    26 
    24