mirror of
https://github.com/libretro/RetroArch
synced 2025-03-20 19:21:27 +00:00
Rearrange variables
This commit is contained in:
parent
3a92a60a8e
commit
2dee343ec7
@ -45,11 +45,11 @@
|
|||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
float tex_coords[4];
|
|
||||||
float vert_coords[4];
|
|
||||||
unsigned tex_w, tex_h;
|
|
||||||
bool fullscreen;
|
bool fullscreen;
|
||||||
bool enabled;
|
bool enabled;
|
||||||
|
unsigned tex_w, tex_h;
|
||||||
|
float tex_coords[4];
|
||||||
|
float vert_coords[4];
|
||||||
float alpha_mod;
|
float alpha_mod;
|
||||||
LPDIRECT3DTEXTURE tex;
|
LPDIRECT3DTEXTURE tex;
|
||||||
void *vert_buf;
|
void *vert_buf;
|
||||||
@ -70,29 +70,17 @@ typedef struct d3d_video
|
|||||||
bool keep_aspect;
|
bool keep_aspect;
|
||||||
bool should_resize;
|
bool should_resize;
|
||||||
bool quitting;
|
bool quitting;
|
||||||
|
|
||||||
struct video_viewport vp;
|
|
||||||
WNDCLASSEX windowClass;
|
|
||||||
LPDIRECT3DDEVICE dev;
|
|
||||||
HRESULT d3d_err;
|
|
||||||
unsigned cur_mon_id;
|
|
||||||
unsigned dev_rotation;
|
|
||||||
D3DVIEWPORT final_viewport;
|
|
||||||
|
|
||||||
std::string shader_path;
|
|
||||||
|
|
||||||
struct video_shader shader;
|
|
||||||
video_info_t video_info;
|
|
||||||
|
|
||||||
bool needs_restore;
|
bool needs_restore;
|
||||||
|
|
||||||
RECT font_rect;
|
|
||||||
RECT font_rect_shifted;
|
|
||||||
|
|
||||||
#ifdef HAVE_OVERLAY
|
#ifdef HAVE_OVERLAY
|
||||||
bool overlays_enabled;
|
bool overlays_enabled;
|
||||||
std::vector<overlay_t> overlays;
|
|
||||||
#endif
|
#endif
|
||||||
|
/* TODO - refactor this away properly. */
|
||||||
|
bool resolution_hd_enable;
|
||||||
|
|
||||||
|
unsigned cur_mon_id;
|
||||||
|
unsigned dev_rotation;
|
||||||
|
|
||||||
|
HRESULT d3d_err;
|
||||||
|
|
||||||
#if defined(HAVE_MENU)
|
#if defined(HAVE_MENU)
|
||||||
overlay_t *menu;
|
overlay_t *menu;
|
||||||
@ -100,8 +88,21 @@ typedef struct d3d_video
|
|||||||
const d3d_renderchain_driver_t *renderchain_driver;
|
const d3d_renderchain_driver_t *renderchain_driver;
|
||||||
void *renderchain_data;
|
void *renderchain_data;
|
||||||
|
|
||||||
/* TODO - refactor this away properly. */
|
RECT font_rect;
|
||||||
bool resolution_hd_enable;
|
RECT font_rect_shifted;
|
||||||
|
|
||||||
|
struct video_viewport vp;
|
||||||
|
struct video_shader shader;
|
||||||
|
video_info_t video_info;
|
||||||
|
WNDCLASSEX windowClass;
|
||||||
|
LPDIRECT3DDEVICE dev;
|
||||||
|
D3DVIEWPORT final_viewport;
|
||||||
|
|
||||||
|
std::string shader_path;
|
||||||
|
|
||||||
|
#ifdef HAVE_OVERLAY
|
||||||
|
std::vector<overlay_t> overlays;
|
||||||
|
#endif
|
||||||
} d3d_video_t;
|
} d3d_video_t;
|
||||||
|
|
||||||
void d3d_make_d3dpp(void *data,
|
void d3d_make_d3dpp(void *data,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user