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