Cleanups
This commit is contained in:
parent
5ad8f2aa90
commit
33a77bd3a3
|
@ -15,7 +15,6 @@
|
|||
* If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
#ifdef _XBOX
|
||||
#include <xtl.h>
|
||||
#endif
|
||||
|
@ -144,14 +143,16 @@ static bool gfx_ctx_d3d_suppress_screensaver(void *data, bool enable)
|
|||
return win32_suppress_screensaver(data, enable);
|
||||
}
|
||||
|
||||
#ifndef _XBOX
|
||||
static bool gfx_ctx_d3d_has_windowed(void *data)
|
||||
{
|
||||
(void)data;
|
||||
|
||||
#ifdef _XBOX
|
||||
return false;
|
||||
#else
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
static bool gfx_ctx_d3d_bind_api(void *data,
|
||||
enum gfx_ctx_api api, unsigned major, unsigned minor)
|
||||
|
@ -364,11 +365,7 @@ const gfx_ctx_driver_t gfx_ctx_d3d = {
|
|||
gfx_ctx_d3d_set_resize,
|
||||
gfx_ctx_d3d_has_focus,
|
||||
gfx_ctx_d3d_suppress_screensaver,
|
||||
#ifdef _XBOX
|
||||
NULL,
|
||||
#else
|
||||
gfx_ctx_d3d_has_windowed,
|
||||
#endif
|
||||
gfx_ctx_d3d_swap_buffers,
|
||||
gfx_ctx_d3d_input_driver,
|
||||
NULL,
|
||||
|
|
Loading…
Reference in New Issue