mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(D3D) Remove some more _XBOX ifdefs
This commit is contained in:
parent
054035bd9d
commit
de989f202a
@ -600,7 +600,6 @@ static bool d3d_construct(d3d_video_t *d3d,
|
||||
video_driver_set_size(&new_width, &new_height);
|
||||
}
|
||||
|
||||
#ifndef _XBOX
|
||||
#ifdef HAVE_WINDOW
|
||||
DWORD style;
|
||||
unsigned win_width, win_height;
|
||||
@ -671,7 +670,6 @@ static bool d3d_construct(d3d_video_t *d3d,
|
||||
|
||||
win32_show_cursor(!info->fullscreen);
|
||||
|
||||
|
||||
#ifdef HAVE_SHADERS
|
||||
/* This should only be done once here
|
||||
* to avoid set_shader() to be overridden
|
||||
@ -683,7 +681,6 @@ static bool d3d_construct(d3d_video_t *d3d,
|
||||
|
||||
if (!d3d_process_shader(d3d))
|
||||
return false;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
d3d->video_info = *info;
|
||||
@ -827,9 +824,7 @@ static void d3d_free(void *data)
|
||||
d3d_free_overlays(d3d);
|
||||
#endif
|
||||
|
||||
#ifdef _XBOX
|
||||
gfx_ctx_free();
|
||||
#else
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
d3d_free_overlay(d3d, d3d->menu);
|
||||
@ -985,8 +980,6 @@ static bool d3d_init_chain(d3d_video_t *d3d, const video_info_t *video_info)
|
||||
return true;
|
||||
}
|
||||
|
||||
#ifdef _XBOX
|
||||
|
||||
#ifdef _XBOX1
|
||||
#include <formats/image.h>
|
||||
|
||||
@ -1047,8 +1040,6 @@ static bool texture_image_render(d3d_video_t *d3d,
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_FBO
|
||||
static bool d3d_init_multipass(d3d_video_t *d3d)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user