cnq3/code/linux/sdl_local.h
myT 3305c6f515 improved multi-monitor support
- /monitorlist
- the monitor list gets updated during video restarts and by /monitorlist
- Linux > r_monitor is now 0-based and monitors are sorted top-to-bottom, left-to-right
- Windows > the Windows + shift + left/right arrow key shortcuts should be ok to use
2019-02-20 20:52:34 +01:00

17 lines
250 B
C

#pragma once
#define MAX_MONITOR_COUNT 16
struct glImp_t {
SDL_Window* window;
SDL_GLContext glContext;
SDL_Rect monitorRects[MAX_MONITOR_COUNT];
int monitorCount;
int monitor; // current monitor, 0-based
};
extern glImp_t glimp;