mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2025-02-01 21:30:57 +00:00
3305c6f515
- /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
17 lines
250 B
C
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;
|