mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 00:39:53 +00:00
(MSVC) Buildfixes
This commit is contained in:
parent
77d630a0a5
commit
d0736a1797
@ -136,10 +136,9 @@ static bool gfx_ctx_gdi_set_video_mode(
|
||||
static void gfx_ctx_gdi_input_driver(
|
||||
input_driver_t **input, void **input_data)
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
#if _WIN32_WINNT >= 0x0501
|
||||
#ifdef HAVE_WINRAWINPUT
|
||||
settings_t *settings = config_get_ptr();
|
||||
|
||||
/* winraw only available since XP */
|
||||
if (string_is_equal(settings->arrays.input_driver, "raw"))
|
||||
{
|
||||
|
@ -184,13 +184,14 @@ static void create_gl_context(HWND hwnd, bool *quit)
|
||||
{
|
||||
struct retro_hw_render_callback *hwr = video_driver_get_hw_context();
|
||||
bool core_context = (win32_major * 1000 + win32_minor) >= 3001;
|
||||
win32_hdc = GetDC(hwnd);
|
||||
#ifdef GL_DEBUG
|
||||
bool debug = true;
|
||||
#else
|
||||
bool debug = hwr->debug_context;
|
||||
#endif
|
||||
|
||||
win32_hdc = GetDC(hwnd);
|
||||
|
||||
win32_setup_pixel_format(win32_hdc, true);
|
||||
|
||||
if (win32_hrc)
|
||||
|
Loading…
x
Reference in New Issue
Block a user