mirror of
				https://github.com/libsdl-org/SDL.git
				synced 2025-11-04 01:34:38 +00:00 
			
		
		
		
	fix build of testmouse.c
This commit is contained in:
		@@ -16,6 +16,8 @@
 | 
				
			|||||||
#include <emscripten/emscripten.h>
 | 
					#include <emscripten/emscripten.h>
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include <stdlib.h> /* exit() */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef __IPHONEOS__
 | 
					#ifdef __IPHONEOS__
 | 
				
			||||||
#define SCREEN_WIDTH    320
 | 
					#define SCREEN_WIDTH    320
 | 
				
			||||||
#define SCREEN_HEIGHT   480
 | 
					#define SCREEN_HEIGHT   480
 | 
				
			||||||
@@ -27,10 +29,8 @@
 | 
				
			|||||||
static SDL_Window *window;
 | 
					static SDL_Window *window;
 | 
				
			||||||
static SDL_Renderer *renderer;
 | 
					static SDL_Renderer *renderer;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
typedef struct Line Line;
 | 
					typedef struct _Line {
 | 
				
			||||||
 | 
					    struct _Line *next;
 | 
				
			||||||
typedef struct Line {
 | 
					 | 
				
			||||||
    Line *next;
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    int x1, y1, x2, y2;
 | 
					    int x1, y1, x2, y2;
 | 
				
			||||||
    Uint8 r, g, b;
 | 
					    Uint8 r, g, b;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user