mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-17 16:10:29 +00:00
(gfx/common) Cleanups
This commit is contained in:
parent
2f171c4b5d
commit
4b2a906148
@ -20,17 +20,18 @@
|
||||
|
||||
#include "drm_common.h"
|
||||
|
||||
uint32_t g_connector_id;
|
||||
int g_drm_fd;
|
||||
uint32_t g_crtc_id;
|
||||
|
||||
static drmModeCrtc *g_orig_crtc;
|
||||
struct pollfd g_drm_fds;
|
||||
|
||||
static drmModeRes *g_drm_resources;
|
||||
drmModeConnector *g_drm_connector;
|
||||
static drmModeEncoder *g_drm_encoder;
|
||||
drmModeModeInfo *g_drm_mode;
|
||||
uint32_t g_connector_id = 0;
|
||||
int g_drm_fd = 0;
|
||||
uint32_t g_crtc_id = 0;
|
||||
|
||||
static drmModeCrtc *g_orig_crtc = NULL;
|
||||
|
||||
static drmModeRes *g_drm_resources = NULL;
|
||||
drmModeConnector *g_drm_connector = NULL;
|
||||
static drmModeEncoder *g_drm_encoder = NULL;
|
||||
drmModeModeInfo *g_drm_mode = NULL;
|
||||
|
||||
drmEventContext g_drm_evctx;
|
||||
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "../../verbosity.h"
|
||||
#include "../../frontend/frontend_driver.h"
|
||||
|
||||
bool g_egl_inited;
|
||||
bool g_egl_inited = false;
|
||||
|
||||
unsigned g_egl_major = 0;
|
||||
unsigned g_egl_minor = 0;
|
||||
|
@ -113,8 +113,8 @@ typedef REASON_CONTEXT POWER_REQUEST_CONTEXT, *PPOWER_REQUEST_CONTEXT, *LPPOWER_
|
||||
#endif
|
||||
|
||||
static HMONITOR win32_monitor_last;
|
||||
static unsigned win32_monitor_count;
|
||||
static HMONITOR win32_monitor_all[MAX_MONITORS];
|
||||
static unsigned win32_monitor_count = 0;
|
||||
|
||||
extern "C"
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user