Переглянути джерело

Revert the screenWidth change

pull/735/head
Rob Loach 6 роки тому
committed by GitHub
джерело
коміт
d897e14161
Не вдалося знайти GPG ключ що відповідає даному підпису Ідентифікатор GPG ключа: 4AEE18F83AFDEB23
1 змінених файлів з 1 додано та 1 видалено
  1. +1
    -1
      src/core.c

+ 1
- 1
src/core.c Переглянути файл

@ -276,7 +276,7 @@ static bool windowMinimized = false; // Check if window has been mini
static const char *windowTitle = NULL; // Window text title... static const char *windowTitle = NULL; // Window text title...
static unsigned int displayWidth, displayHeight;// Display width and height (monitor, device-screen, LCD, ...) static unsigned int displayWidth, displayHeight;// Display width and height (monitor, device-screen, LCD, ...)
//static int screenWidth, screenHeight; // Screen width and height (used render area)
static int screenWidth, screenHeight; // Screen width and height (used render area)
static int renderWidth, renderHeight; // Framebuffer width and height (render area, including black bars if required) static int renderWidth, renderHeight; // Framebuffer width and height (render area, including black bars if required)
static int renderOffsetX = 0; // Offset X from render area (must be divided by 2) static int renderOffsetX = 0; // Offset X from render area (must be divided by 2)
static int renderOffsetY = 0; // Offset Y from render area (must be divided by 2) static int renderOffsetY = 0; // Offset Y from render area (must be divided by 2)

Завантаження…
Відмінити
Зберегти