Move screen-related code to screen.c

The file scrcpy.c contains too many different things in addition to the
main logic, so move the screen code to a separate file, screen.c.
This commit is contained in:
Romain Vimont
2018-02-08 11:14:13 +01:00
parent 14c58546a7
commit 6c578b5caa
5 changed files with 390 additions and 276 deletions

View File

@@ -1,5 +1,5 @@
#ifndef SCREEN_H
#define SCREEN_H
#ifndef SCRCPY_H
#define SCRCPY_H
#include <SDL2/SDL_stdinc.h>