mirror of
				https://github.com/Ryujinx/SDL.git
				synced 2025-11-04 14:45:00 +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;
 | 
			
		||||
    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;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -102,7 +102,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
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -85,7 +85,7 @@ typedef struct
 | 
			
		|||
{
 | 
			
		||||
    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
 | 
			
		||||
#include "SDL_glesfuncs.h"
 | 
			
		||||
#undef SDL_PROC
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -151,7 +151,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;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -26,7 +26,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;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -33,7 +33,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;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -31,7 +31,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;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue