mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-01-07 11:05:29 +00:00
style fixes for SDL_PROC macros.
This commit is contained in:
parent
df9d0fb332
commit
92a487f2e4
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue