cocoaTouch/SDLOverrides/SDL_uikitopengles.h
changeset 2692 ce9992075118
equal deleted inserted replaced
2691:c0da3a98c01c 2692:ce9992075118
       
     1 /*
       
     2     SDL - Simple DirectMedia Layer
       
     3     Copyright (C) 1997-2009 Sam Lantinga
       
     4 
       
     5     This library is free software; you can redistribute it and/or
       
     6     modify it under the terms of the GNU Lesser General Public
       
     7     License as published by the Free Software Foundation; either
       
     8     version 2.1 of the License, or (at your option) any later version.
       
     9 
       
    10     This library is distributed in the hope that it will be useful,
       
    11     but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
       
    13     Lesser General Public License for more details.
       
    14 
       
    15     You should have received a copy of the GNU Lesser General Public
       
    16     License along with this library; if not, write to the Free Software
       
    17     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
       
    18 
       
    19     Sam Lantinga
       
    20     slouken@libsdl.org
       
    21 */
       
    22 
       
    23 #include "SDL_config.h"
       
    24 
       
    25 #ifndef _SDL_uikitopengles
       
    26 #define _SDL_uikitopengles
       
    27 
       
    28 #include "SDL_uikitvideo.h"
       
    29 
       
    30 extern int UIKit_GL_MakeCurrent(_THIS, SDL_Window * window,
       
    31                                 SDL_GLContext context);
       
    32 extern void UIKit_GL_SwapWindow(_THIS, SDL_Window * window);
       
    33 extern SDL_GLContext UIKit_GL_CreateContext(_THIS, SDL_Window * window);
       
    34 extern void UIKit_GL_DeleteContext(_THIS, SDL_GLContext context);
       
    35 extern void *UIKit_GL_GetProcAddress(_THIS, const char *proc);
       
    36 extern int UIKit_GL_LoadLibrary(_THIS, const char *path);
       
    37 
       
    38 #endif