mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(D3D) Build fixes
This commit is contained in:
parent
4ac5650336
commit
2568f1f2e0
@ -34,13 +34,6 @@
|
||||
#include "d3d_shared.h"
|
||||
|
||||
#ifdef HAVE_MONITOR
|
||||
namespace Monitor
|
||||
{
|
||||
static HMONITOR last_hm;
|
||||
static HMONITOR all_hms[MAX_MONITORS];
|
||||
static unsigned num_mons;
|
||||
}
|
||||
|
||||
static BOOL CALLBACK monitor_enum_proc(HMONITOR hMonitor,
|
||||
HDC hdcMonitor, LPRECT lprcMonitor, LPARAM dwData)
|
||||
{
|
||||
|
@ -37,6 +37,15 @@ extern LRESULT CALLBACK WindowProc(HWND hWnd, UINT message,
|
||||
static RECT d3d_monitor_rect(d3d_video_t *d3d);
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_MONITOR
|
||||
namespace Monitor
|
||||
{
|
||||
static HMONITOR last_hm;
|
||||
static HMONITOR all_hms[MAX_MONITORS];
|
||||
static unsigned num_mons;
|
||||
}
|
||||
#endif
|
||||
|
||||
static void d3d_deinit_shader(void *data)
|
||||
{
|
||||
d3d_video_t *d3d = (d3d_video_t*)data;
|
||||
|
@ -532,6 +532,9 @@ void renderchain_blit_to_texture(void *data, const void *frame,
|
||||
D3DLOCKED_RECT d3dlr;
|
||||
renderchain_t *chain = (renderchain_t*)data;
|
||||
Pass &first = chain->passes[0];
|
||||
|
||||
(void)desc;
|
||||
|
||||
if (first.last_width != width || first.last_height != height)
|
||||
{
|
||||
D3DTexture_LockRectClear(first, first.tex, 0, d3dlr,
|
||||
|
Loading…
x
Reference in New Issue
Block a user