Fix D3D10/11/12 drivers for Win32 build

This commit is contained in:
twinaphex 2018-12-30 05:08:57 +01:00
parent 88e283f0c1
commit 1cb9f7c1bf
3 changed files with 9 additions and 9 deletions

View File

@ -20,10 +20,18 @@
#include "../../config.h"
#endif
#if !defined(_XBOX) && !defined(__WINRT__)
#if !defined(__WINRT__) && !defined(_XBOX)
#ifndef HAVE_WINDOW
#define HAVE_WINDOW
#endif
#ifndef HAVE_MONITOR
#define HAVE_MONITOR
#endif
#endif
#include <boolean.h>
#include <retro_common_api.h>

View File

@ -47,11 +47,6 @@
#ifdef _XBOX
#define D3D8_PRESENTATIONINTERVAL D3DRS_PRESENTATIONINTERVAL
#else
#ifndef __WINRT__
#define HAVE_MONITOR
#define HAVE_WINDOW
#endif
#endif
#ifdef HAVE_MENU

View File

@ -48,9 +48,6 @@
#ifdef _XBOX
#define D3D9_PRESENTATIONINTERVAL D3DRS_PRESENTINTERVAL
#else
#define HAVE_MONITOR
#define HAVE_WINDOW
#endif
#define FS_PRESENTINTERVAL(pp) ((pp)->PresentationInterval)