style fixes for SDL_PROC macros.

This commit is contained in:
Ozkan Sezer 2023-05-19 14:10:02 +03:00
parent df9d0fb332
commit 92a487f2e4
7 changed files with 7 additions and 7 deletions

View file

@ -39,7 +39,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;

View file

@ -102,7 +102,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

View file

@ -85,7 +85,7 @@ typedef struct
{ {
SDL_GLContext context; SDL_GLContext context;
#define SDL_PROC(ret, func, params) ret(APIENTRY *func) params; #define SDL_PROC(ret, func, params) ret (APIENTRY *func) params;
#define SDL_PROC_OES SDL_PROC #define SDL_PROC_OES SDL_PROC
#include "SDL_glesfuncs.h" #include "SDL_glesfuncs.h"
#undef SDL_PROC #undef SDL_PROC

View file

@ -151,7 +151,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;

View file

@ -26,7 +26,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;

View file

@ -33,7 +33,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;

View file

@ -31,7 +31,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;