Mercurial > sdl-ios-xcode
view src/video/uikit/SDL_uikitopengles.h @ 2399:d904584ea86d gsoc2008_iphone
Added SDL_WindowData for UIKit video driver. Now looks up instances here instead of assuming we're referring to a singleton.
author | Holmes Futrell <hfutrell@umail.ucsb.edu> |
---|---|
date | Tue, 22 Jul 2008 22:59:59 +0000 |
parents | eb828d6c3efb |
children | e9a1eed243c9 |
line wrap: on
line source
/* * SDL_uikitopengles.h * iPodSDL * * Created by Holmes Futrell on 5/29/08. * Copyright 2008 __MyCompanyName__. All rights reserved. * */ #include "SDL_config.h" #ifndef _SDL_uikitopengles #define _SDL_uikitopengles #include "SDL_uikitvideo.h" extern int UIKit_GL_MakeCurrent(_THIS, SDL_Window * window, SDL_GLContext context); extern void UIKit_GL_SwapWindow(_THIS, SDL_Window * window); extern SDL_GLContext UIKit_GL_CreateContext(_THIS, SDL_Window * window); extern void UIKit_GL_DeleteContext(_THIS, SDL_GLContext context); extern void *UIKit_GL_GetProcAddress(_THIS, const char *proc); extern int UIKit_GL_LoadLibrary(_THIS, const char *path); #endif