mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
move more code to d3d_shared.h
This commit is contained in:
parent
cb4833cfc8
commit
c38416af9f
@ -31,20 +31,9 @@
|
||||
#define HAVE_SHADERS
|
||||
#endif
|
||||
|
||||
/* forward decls */
|
||||
static bool d3d_init_luts(d3d_video_t *d3d);
|
||||
static void d3d_set_font_rect(d3d_video_t *d3d,
|
||||
const struct font_params *params);
|
||||
static bool d3d_process_shader(d3d_video_t *d3d);
|
||||
static bool d3d_init_multipass(d3d_video_t *d3d);
|
||||
static void d3d_deinit_chain(d3d_video_t *d3d);
|
||||
|
||||
#include "d3d_shared.h"
|
||||
|
||||
#ifdef HAVE_MONITOR
|
||||
#define IDI_ICON 1
|
||||
#define MAX_MONITORS 9
|
||||
|
||||
namespace Monitor
|
||||
{
|
||||
static HMONITOR last_hm;
|
||||
@ -372,14 +361,6 @@ static bool d3d_init_luts(d3d_video_t *d3d)
|
||||
return true;
|
||||
}
|
||||
|
||||
#ifdef HAVE_WINDOW
|
||||
extern LRESULT CALLBACK WindowProc(HWND hWnd, UINT message,
|
||||
WPARAM wParam, LPARAM lParam);
|
||||
#endif
|
||||
|
||||
static void d3d_calculate_rect(d3d_video_t *d3d, unsigned width,
|
||||
unsigned height, bool keep, float desired_aspect);
|
||||
|
||||
#ifdef HAVE_OVERLAY
|
||||
#include "d3d_overlays.cpp"
|
||||
#endif
|
||||
|
@ -1,3 +1,24 @@
|
||||
/* forward declarations */
|
||||
static void d3d_calculate_rect(d3d_video_t *d3d,
|
||||
unsigned width, unsigned height,
|
||||
bool keep, float desired_aspect);
|
||||
static bool d3d_init_luts(d3d_video_t *d3d);
|
||||
static void d3d_set_font_rect(d3d_video_t *d3d,
|
||||
const struct font_params *params);
|
||||
static bool d3d_process_shader(d3d_video_t *d3d);
|
||||
static bool d3d_init_multipass(d3d_video_t *d3d);
|
||||
static void d3d_deinit_chain(d3d_video_t *d3d);
|
||||
static bool d3d_init_chain(d3d_video_t *d3d,
|
||||
const video_info_t *video_info)
|
||||
|
||||
#ifdef HAVE_WINDOW
|
||||
#define IDI_ICON 1
|
||||
#define MAX_MONITORS 9
|
||||
|
||||
extern LRESULT CALLBACK WindowProc(HWND hWnd, UINT message,
|
||||
WPARAM wParam, LPARAM lParam);
|
||||
static RECT d3d_monitor_rect(d3d_video_t *d3d);
|
||||
#endif
|
||||
|
||||
static void d3d_deinit_chain(void *data)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user