Added 2 new resolutions (#18)

Added two new resolutions: 1360x768 and 1366x768, closes #18
This commit is contained in:
Dimitris Panokostas 2017-02-01 13:48:22 +01:00 committed by GitHub
parent 186a05dfe8
commit 809f03e667

View file

@ -21,9 +21,9 @@
SDL_Surface* screen = nullptr;
/* Possible screen modes (x and y resolutions) */
#define MAX_SCREEN_MODES 11
static int x_size_table[MAX_SCREEN_MODES] = {640, 640, 720, 800, 800, 960, 1024, 1280, 1280, 1680, 1920};
static int y_size_table[MAX_SCREEN_MODES] = {400, 480, 400, 480, 600, 540, 768, 720, 800, 1050, 1080};
#define MAX_SCREEN_MODES 13
static int x_size_table[MAX_SCREEN_MODES] = {640, 640, 720, 800, 800, 960, 1024, 1280, 1280, 1360, 1366, 1680, 1920};
static int y_size_table[MAX_SCREEN_MODES] = {400, 480, 400, 480, 600, 540, 768, 720, 800, 768, 768, 1050, 1080};
struct PicassoResolution* DisplayModes;
struct MultiDisplay Displays[MAX_DISPLAYS];