Mercurial > sdl-ios-xcode
comparison src/video/ataricommon/SDL_atarigl_c.h @ 1668:4da1ee79c9af SDL-1.3
more tweaking indent options
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 29 May 2006 04:04:35 +0000 |
parents | 782fd950bd46 |
children |
comparison
equal
deleted
inserted
replaced
1667:1fddae038bc8 | 1668:4da1ee79c9af |
---|---|
61 void (*glGetIntegerv) (GLenum pname, GLint * value); | 61 void (*glGetIntegerv) (GLenum pname, GLint * value); |
62 void (*glFinish) (void); | 62 void (*glFinish) (void); |
63 void (*glFlush) (void); | 63 void (*glFlush) (void); |
64 | 64 |
65 /* osmesa.ldg */ | 65 /* osmesa.ldg */ |
66 OSMesaContext (*OSMesaCreateContextExt) (GLenum format, GLint depthBits, | 66 OSMesaContext(*OSMesaCreateContextExt) (GLenum format, GLint depthBits, |
67 GLint stencilBits, | 67 GLint stencilBits, |
68 GLint accumBits, | 68 GLint accumBits, |
69 OSMesaContext sharelist); | 69 OSMesaContext sharelist); |
70 void (*OSMesaDestroyContext) (OSMesaContext ctx); | 70 void (*OSMesaDestroyContext) (OSMesaContext ctx); |
71 GLboolean (*OSMesaMakeCurrent) (OSMesaContext ctx, void *buffer, | 71 GLboolean(*OSMesaMakeCurrent) (OSMesaContext ctx, void *buffer, |
72 GLenum type, GLsizei width, | 72 GLenum type, GLsizei width, |
73 GLsizei height); | 73 GLsizei height); |
74 void (*OSMesaPixelStore) (GLint pname, GLint value); | 74 void (*OSMesaPixelStore) (GLint pname, GLint value); |
75 void *(*OSMesaGetProcAddress) (const char *funcName); | 75 void *(*OSMesaGetProcAddress) (const char *funcName); |
76 | 76 |
77 /* mesa_gl.ldg, tiny_gl.ldg */ | 77 /* mesa_gl.ldg, tiny_gl.ldg */ |
78 void *(*OSMesaCreateLDG) (long format, long type, long width, | 78 void *(*OSMesaCreateLDG) (long format, long type, long width, |
101 #define gl_curaccum (this->gl_data->accum) | 101 #define gl_curaccum (this->gl_data->accum) |
102 #define gl_curwidth (this->gl_data->width) | 102 #define gl_curwidth (this->gl_data->width) |
103 #define gl_curheight (this->gl_data->height) | 103 #define gl_curheight (this->gl_data->height) |
104 | 104 |
105 /* OpenGL functions */ | 105 /* OpenGL functions */ |
106 extern int SDL_AtariGL_Init (_THIS, SDL_Surface * current); | 106 extern int SDL_AtariGL_Init(_THIS, SDL_Surface * current); |
107 extern void SDL_AtariGL_Quit (_THIS, SDL_bool unload); | 107 extern void SDL_AtariGL_Quit(_THIS, SDL_bool unload); |
108 extern void SDL_AtariGL_InitPointers (_THIS); | 108 extern void SDL_AtariGL_InitPointers(_THIS); |
109 | 109 |
110 extern int SDL_AtariGL_LoadLibrary (_THIS, const char *path); | 110 extern int SDL_AtariGL_LoadLibrary(_THIS, const char *path); |
111 extern void *SDL_AtariGL_GetProcAddress (_THIS, const char *proc); | 111 extern void *SDL_AtariGL_GetProcAddress(_THIS, const char *proc); |
112 extern int SDL_AtariGL_GetAttribute (_THIS, SDL_GLattr attrib, int *value); | 112 extern int SDL_AtariGL_GetAttribute(_THIS, SDL_GLattr attrib, int *value); |
113 extern int SDL_AtariGL_MakeCurrent (_THIS); | 113 extern int SDL_AtariGL_MakeCurrent(_THIS); |
114 extern void SDL_AtariGL_SwapBuffers (_THIS); | 114 extern void SDL_AtariGL_SwapBuffers(_THIS); |
115 | 115 |
116 #endif /* _SDL_ATARIGL_H_ */ | 116 #endif /* _SDL_ATARIGL_H_ */ |
117 /* vi: set ts=4 sw=4 expandtab: */ | 117 /* vi: set ts=4 sw=4 expandtab: */ |