mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-01-22 11:51:08 +00:00
testgesture: minor cleanups.
This commit is contained in:
parent
5897ed85f5
commit
7cc0a606d8
|
@ -42,9 +42,7 @@ static int eventWrite;
|
||||||
|
|
||||||
static int colors[7] = {0xFF,0xFF00,0xFF0000,0xFFFF00,0x00FFFF,0xFF00FF,0xFFFFFF};
|
static int colors[7] = {0xFF,0xFF00,0xFF0000,0xFFFF00,0x00FFFF,0xFF00FF,0xFFFFFF};
|
||||||
|
|
||||||
SDL_Surface *screen;
|
static int quitting = 0;
|
||||||
SDL_Window *window;
|
|
||||||
int quitting = 0;
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
float x,y;
|
float x,y;
|
||||||
|
@ -267,10 +265,6 @@ void loop()
|
||||||
|
|
||||||
int main(int argc, char* argv[])
|
int main(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
int i;
|
|
||||||
|
|
||||||
quitting = 0;
|
|
||||||
|
|
||||||
/* gesture variables */
|
/* gesture variables */
|
||||||
knob.r = .1f;
|
knob.r = .1f;
|
||||||
knob.ang = 0;
|
knob.ang = 0;
|
||||||
|
|
Loading…
Reference in a new issue