mirror of
https://github.com/libretro/RetroArch
synced 2025-01-27 03:35:22 +00:00
Turn win32_common and wgl_ctx into C++
This commit is contained in:
parent
3d20af9135
commit
9deeececf1
@ -28,10 +28,6 @@
|
||||
#include "../../driver.h"
|
||||
#include "../video_context_driver.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef _XBOX
|
||||
#include "../drivers_wm/win32_resource.h"
|
||||
|
||||
@ -71,8 +67,4 @@ void win32_show_cursor(bool state);
|
||||
void win32_check_window(bool *quit,
|
||||
bool *resize, unsigned *width, unsigned *height);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -103,13 +103,6 @@ CHEATS
|
||||
#include "../cheats.c"
|
||||
#include "../libretro-common/hash/rhash.c"
|
||||
|
||||
/*============================================================
|
||||
UI COMMON CONTEXT
|
||||
============================================================ */
|
||||
#if defined(_WIN32)
|
||||
#include "../gfx/common/win32_common.c"
|
||||
#endif
|
||||
|
||||
/*============================================================
|
||||
VIDEO CONTEXT
|
||||
============================================================ */
|
||||
@ -139,9 +132,7 @@ VIDEO CONTEXT
|
||||
#include "../gfx/drivers_context/vc_egl_ctx.c"
|
||||
#endif
|
||||
|
||||
|
||||
#if defined(_WIN32) && !defined(_XBOX)
|
||||
#include "../gfx/drivers_context/wgl_ctx.c"
|
||||
#include "../gfx/drivers_wm/win32_shader_dlg.c"
|
||||
#endif
|
||||
|
||||
|
@ -32,6 +32,18 @@ AUDIO
|
||||
#include "../audio/drivers/xaudio.cpp"
|
||||
#endif
|
||||
|
||||
/*============================================================
|
||||
UI COMMON CONTEXT
|
||||
============================================================ */
|
||||
#if defined(_WIN32) && !defined(_XBOX)
|
||||
#include "../gfx/common/win32_common.cpp"
|
||||
|
||||
#ifdef HAVE_OPENGL
|
||||
#include "../gfx/drivers_context/wgl_ctx.cpp"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
/*============================================================
|
||||
MENU
|
||||
============================================================ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user