src/video/uikit/SDL_uikitopengles.h
author Holmes Futrell <hfutrell@umail.ucsb.edu>
Sat, 16 Aug 2008 00:18:06 +0000
branchgsoc2008_iphone
changeset 2452 54bc7e0806de
parent 2403 e9a1eed243c9
permissions -rw-r--r--
whitespace
     1 /*
     2  SDL - Simple DirectMedia Layer
     3  Copyright (C) 1997-2006 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, SDL_GLContext context);
    31 extern void UIKit_GL_SwapWindow(_THIS, SDL_Window * window);
    32 extern SDL_GLContext UIKit_GL_CreateContext(_THIS, SDL_Window * window);
    33 extern void UIKit_GL_DeleteContext(_THIS, SDL_GLContext context);
    34 extern void *UIKit_GL_GetProcAddress(_THIS, const char *proc);
    35 extern int UIKit_GL_LoadLibrary(_THIS, const char *path);
    36 
    37 #endif