mirror of
https://github.com/libretro/RetroArch
synced 2025-02-19 12:41:00 +00:00
Convert gdi_ctx.cpp to C
This commit is contained in:
parent
a4a027be67
commit
795ae524e9
@ -126,7 +126,8 @@ static void gfx_ctx_gdi_get_video_size(void *data,
|
||||
}
|
||||
}
|
||||
|
||||
static void *gfx_ctx_gdi_init(video_frame_info_t *video_info, void *video_driver)
|
||||
static void *gfx_ctx_gdi_init(
|
||||
video_frame_info_t *video_info, void *video_driver)
|
||||
{
|
||||
WNDCLASSEX wndclass = {0};
|
||||
|
@ -166,9 +166,21 @@ VIDEO CONTEXT
|
||||
#include "../gfx/drivers_context/gfx_null_ctx.c"
|
||||
|
||||
#if defined(_WIN32) && !defined(_XBOX)
|
||||
|
||||
#if defined(HAVE_OPENGL) || defined(HAVE_VULKAN)
|
||||
#include "../gfx/drivers_context/wgl_ctx.c"
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32) && !defined(_XBOX)
|
||||
#include "../gfx/drivers_context/gdi_ctx.c"
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_FFMPEG)
|
||||
#if defined(HAVE_OPENGL) || defined(HAVE_OPENGLES3)
|
||||
#include "../cores/libretro-ffmpeg/ffmpeg_fft.c"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#if defined(__CELLOS_LV2__)
|
||||
|
@ -97,24 +97,6 @@ AUDIO
|
||||
#include "../audio/drivers/xaudio.cpp"
|
||||
#endif
|
||||
|
||||
/*============================================================
|
||||
UI COMMON CONTEXT
|
||||
============================================================ */
|
||||
#if defined(_WIN32) && !defined(_XBOX)
|
||||
|
||||
#if defined(_WIN32) && !defined(_XBOX)
|
||||
#include "../gfx/drivers_context/gdi_ctx.cpp"
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_FFMPEG)
|
||||
#if defined(HAVE_OPENGL) || defined(HAVE_OPENGLES3)
|
||||
#include "../cores/libretro-ffmpeg/fft/fft.cpp"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
/*============================================================
|
||||
MENU
|
||||
============================================================ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user