src/video/uikit/SDL_uikitopengles.h
author Sam Lantinga <slouken@libsdl.org>
Fri, 11 Feb 2011 22:37:15 -0800
changeset 5262 b530ef003506
parent 5133 b915b3181cc2
child 5535 96594ac5fd1a
permissions -rw-r--r--
Happy 2011! :)
slouken@2765
     1
/*
slouken@2765
     2
    SDL - Simple DirectMedia Layer
slouken@5262
     3
    Copyright (C) 1997-2011 Sam Lantinga
slouken@2765
     4
slouken@2765
     5
    This library is free software; you can redistribute it and/or
slouken@2765
     6
    modify it under the terms of the GNU Lesser General Public
slouken@2765
     7
    License as published by the Free Software Foundation; either
slouken@2765
     8
    version 2.1 of the License, or (at your option) any later version.
slouken@2765
     9
slouken@2765
    10
    This library is distributed in the hope that it will be useful,
slouken@2765
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
slouken@2765
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
slouken@2765
    13
    Lesser General Public License for more details.
slouken@2765
    14
slouken@2765
    15
    You should have received a copy of the GNU Lesser General Public
slouken@2765
    16
    License along with this library; if not, write to the Free Software
slouken@2765
    17
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
slouken@2765
    18
slouken@2765
    19
    Sam Lantinga
slouken@2765
    20
    slouken@libsdl.org
slouken@2765
    21
*/
slouken@2765
    22
slouken@2765
    23
#include "SDL_config.h"
slouken@2765
    24
slouken@2765
    25
#ifndef _SDL_uikitopengles
slouken@2765
    26
#define _SDL_uikitopengles
slouken@2765
    27
slouken@2765
    28
#include "SDL_uikitvideo.h"
slouken@2765
    29
slouken@2765
    30
extern int UIKit_GL_MakeCurrent(_THIS, SDL_Window * window,
slouken@2765
    31
                                SDL_GLContext context);
slouken@2765
    32
extern void UIKit_GL_SwapWindow(_THIS, SDL_Window * window);
slouken@2765
    33
extern SDL_GLContext UIKit_GL_CreateContext(_THIS, SDL_Window * window);
slouken@2765
    34
extern void UIKit_GL_DeleteContext(_THIS, SDL_GLContext context);
slouken@2765
    35
extern void *UIKit_GL_GetProcAddress(_THIS, const char *proc);
slouken@2765
    36
extern int UIKit_GL_LoadLibrary(_THIS, const char *path);
slouken@2765
    37
slouken@2765
    38
#endif
slouken@5133
    39
slouken@5133
    40
/* vi: set ts=4 sw=4 expandtab: */