mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-16 17:58:27 +00:00
style fixes for SDL_PROC macros.
This commit is contained in:
parent
d5f07730be
commit
5c019bc97e
6 changed files with 6 additions and 6 deletions
|
@ -54,7 +54,7 @@ typedef struct AAUDIO_Data
|
||||||
{
|
{
|
||||||
AAudioStreamBuilder *builder;
|
AAudioStreamBuilder *builder;
|
||||||
void *handle;
|
void *handle;
|
||||||
#define SDL_PROC(ret, func, params) ret(*func) params;
|
#define SDL_PROC(ret, func, params) ret (*func) params;
|
||||||
#include "SDL_aaudiofuncs.h"
|
#include "SDL_aaudiofuncs.h"
|
||||||
#undef SDL_PROC
|
#undef SDL_PROC
|
||||||
} AAUDIO_Data;
|
} AAUDIO_Data;
|
||||||
|
|
|
@ -101,7 +101,7 @@ typedef struct
|
||||||
GL_FBOList *framebuffers;
|
GL_FBOList *framebuffers;
|
||||||
|
|
||||||
/* OpenGL functions */
|
/* OpenGL functions */
|
||||||
#define SDL_PROC(ret, func, params) ret(APIENTRY *func) params;
|
#define SDL_PROC(ret, func, params) ret (APIENTRY *func) params;
|
||||||
#include "SDL_glfuncs.h"
|
#include "SDL_glfuncs.h"
|
||||||
#undef SDL_PROC
|
#undef SDL_PROC
|
||||||
|
|
||||||
|
|
|
@ -150,7 +150,7 @@ typedef struct GLES2_RenderData
|
||||||
|
|
||||||
SDL_bool GL_EXT_blend_minmax_supported;
|
SDL_bool GL_EXT_blend_minmax_supported;
|
||||||
|
|
||||||
#define SDL_PROC(ret, func, params) ret(APIENTRY *func) params;
|
#define SDL_PROC(ret, func, params) ret (APIENTRY *func) params;
|
||||||
#include "SDL_gles2funcs.h"
|
#include "SDL_gles2funcs.h"
|
||||||
#undef SDL_PROC
|
#undef SDL_PROC
|
||||||
GLES2_FBOList *framebuffers;
|
GLES2_FBOList *framebuffers;
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
typedef struct GL_Context
|
typedef struct GL_Context
|
||||||
{
|
{
|
||||||
#define SDL_PROC(ret, func, params) ret(APIENTRY *func) params;
|
#define SDL_PROC(ret, func, params) ret (APIENTRY *func) params;
|
||||||
#include "../src/render/opengl/SDL_glfuncs.h"
|
#include "../src/render/opengl/SDL_glfuncs.h"
|
||||||
#undef SDL_PROC
|
#undef SDL_PROC
|
||||||
} GL_Context;
|
} GL_Context;
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
typedef struct GLES2_Context
|
typedef struct GLES2_Context
|
||||||
{
|
{
|
||||||
#define SDL_PROC(ret, func, params) ret(APIENTRY *func) params;
|
#define SDL_PROC(ret, func, params) ret (APIENTRY *func) params;
|
||||||
#include "../src/render/opengles2/SDL_gles2funcs.h"
|
#include "../src/render/opengles2/SDL_gles2funcs.h"
|
||||||
#undef SDL_PROC
|
#undef SDL_PROC
|
||||||
} GLES2_Context;
|
} GLES2_Context;
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
typedef struct GLES2_Context
|
typedef struct GLES2_Context
|
||||||
{
|
{
|
||||||
#define SDL_PROC(ret, func, params) ret(APIENTRY *func) params;
|
#define SDL_PROC(ret, func, params) ret (APIENTRY *func) params;
|
||||||
#include "../src/render/opengles2/SDL_gles2funcs.h"
|
#include "../src/render/opengles2/SDL_gles2funcs.h"
|
||||||
#undef SDL_PROC
|
#undef SDL_PROC
|
||||||
} GLES2_Context;
|
} GLES2_Context;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue