Explorar el Código

SDL_render.h: Remove unnecessary `struct x;` before `typedef struct x x;`.

Ryan C. Gordon hace 2 años
padre
commit
253c917296
Se han modificado 1 ficheros con 0 adiciones y 2 borrados
  1. 0 2
      include/SDL3/SDL_render.h

+ 0 - 2
include/SDL3/SDL_render.h

@@ -125,7 +125,6 @@ typedef enum SDL_RendererLogicalPresentation
  *
  * \since This struct is available since SDL 3.0.0.
  */
-struct SDL_Renderer;
 typedef struct SDL_Renderer SDL_Renderer;
 
 /**
@@ -133,7 +132,6 @@ typedef struct SDL_Renderer SDL_Renderer;
  *
  * \since This struct is available since SDL 3.0.0.
  */
-struct SDL_Texture;
 typedef struct SDL_Texture SDL_Texture;
 
 /* Function prototypes */