Mercurial > sdl-ios-xcode
comparison include/SDL_compat.h @ 1936:83946ee0ff1f
Implemented OpenGL support on Mac OS X
The OpenGL renderer works without changes, yay! :)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 25 Jul 2006 06:22:42 +0000 |
parents | 8d384b647307 |
children | 6bb97f41ab4b |
comparison
equal
deleted
inserted
replaced
1935:8a9b367a80f3 | 1936:83946ee0ff1f |
---|---|
169 extern DECLSPEC int SDLCALL SDL_LockYUVOverlay(SDL_Overlay * overlay); | 169 extern DECLSPEC int SDLCALL SDL_LockYUVOverlay(SDL_Overlay * overlay); |
170 extern DECLSPEC void SDLCALL SDL_UnlockYUVOverlay(SDL_Overlay * overlay); | 170 extern DECLSPEC void SDLCALL SDL_UnlockYUVOverlay(SDL_Overlay * overlay); |
171 extern DECLSPEC int SDLCALL SDL_DisplayYUVOverlay(SDL_Overlay * overlay, | 171 extern DECLSPEC int SDLCALL SDL_DisplayYUVOverlay(SDL_Overlay * overlay, |
172 SDL_Rect * dstrect); | 172 SDL_Rect * dstrect); |
173 extern DECLSPEC void SDLCALL SDL_FreeYUVOverlay(SDL_Overlay * overlay); | 173 extern DECLSPEC void SDLCALL SDL_FreeYUVOverlay(SDL_Overlay * overlay); |
174 extern DECLSPEC int SDLCALL SDL_GL_GetAttribute(SDL_GLattr attr, int *value); | |
175 extern DECLSPEC void SDLCALL SDL_GL_SwapBuffers(void); | 174 extern DECLSPEC void SDLCALL SDL_GL_SwapBuffers(void); |
176 | 175 |
177 /* Ends C function definitions when using C++ */ | 176 /* Ends C function definitions when using C++ */ |
178 #ifdef __cplusplus | 177 #ifdef __cplusplus |
179 /* *INDENT-OFF* */ | 178 /* *INDENT-OFF* */ |