style fixes for SDL_PROC macros.

main
Ozkan Sezer 2023-05-19 14:10:02 +03:00
parent d5f07730be
commit 5c019bc97e
6 changed files with 6 additions and 6 deletions

View File

@ -54,7 +54,7 @@ typedef struct AAUDIO_Data
{
AAudioStreamBuilder *builder;
void *handle;
#define SDL_PROC(ret, func, params) ret(*func) params;
#define SDL_PROC(ret, func, params) ret (*func) params;
#include "SDL_aaudiofuncs.h"
#undef SDL_PROC
} AAUDIO_Data;

View File

@ -101,7 +101,7 @@ typedef struct
GL_FBOList *framebuffers;
/* 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"
#undef SDL_PROC

View File

@ -150,7 +150,7 @@ typedef struct GLES2_RenderData
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"
#undef SDL_PROC
GLES2_FBOList *framebuffers;

View File

@ -20,7 +20,7 @@
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"
#undef SDL_PROC
} GL_Context;

View File

@ -28,7 +28,7 @@
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"
#undef SDL_PROC
} GLES2_Context;

View File

@ -29,7 +29,7 @@
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"
#undef SDL_PROC
} GLES2_Context;