mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 05:43:34 +00:00
(360) More build fixes
This commit is contained in:
parent
767c44fd47
commit
48c042d56c
4
driver.h
4
driver.h
@ -363,7 +363,7 @@ typedef struct video_poke_interface
|
|||||||
void (*set_aspect_ratio)(void *data, unsigned aspectratio_index);
|
void (*set_aspect_ratio)(void *data, unsigned aspectratio_index);
|
||||||
void (*apply_state_changes)(void *data);
|
void (*apply_state_changes)(void *data);
|
||||||
|
|
||||||
#if defined(HAVE_RGUI) || defined(HAVE_RMENU)
|
#if defined(HAVE_RGUI) || defined(HAVE_RMENU) || defined(HAVE_RMENU_XUI)
|
||||||
void (*set_texture_frame)(void *data, const void *frame, bool rgb32, unsigned width, unsigned height, float alpha); // Update texture.
|
void (*set_texture_frame)(void *data, const void *frame, bool rgb32, unsigned width, unsigned height, float alpha); // Update texture.
|
||||||
void (*set_texture_enable)(void *data, bool enable, bool full_screen); // Enable/disable rendering.
|
void (*set_texture_enable)(void *data, bool enable, bool full_screen); // Enable/disable rendering.
|
||||||
#endif
|
#endif
|
||||||
@ -387,7 +387,7 @@ typedef struct video_driver
|
|||||||
void (*free)(void *data);
|
void (*free)(void *data);
|
||||||
const char *ident;
|
const char *ident;
|
||||||
|
|
||||||
#if defined(HAVE_RMENU) || defined(HAVE_RGUI)
|
#if defined(HAVE_RMENU) || defined(HAVE_RGUI) || defined(HAVE_RMENU_XUI)
|
||||||
void (*start)(void);
|
void (*start)(void);
|
||||||
void (*restart)(void);
|
void (*restart)(void);
|
||||||
#endif
|
#endif
|
||||||
|
@ -463,7 +463,7 @@ static void init_menulist(unsigned menu_id)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned xui_input_to_rgui_action(unsigned input)
|
static unsigned xui_input_to_rgui_action(unsigned input)
|
||||||
{
|
{
|
||||||
switch (input)
|
switch (input)
|
||||||
{
|
{
|
||||||
|
@ -284,7 +284,7 @@ struct settings
|
|||||||
uint16_t network_cmd_port;
|
uint16_t network_cmd_port;
|
||||||
bool stdin_cmd_enable;
|
bool stdin_cmd_enable;
|
||||||
|
|
||||||
#if defined(HAVE_RGUI) || defined(HAVE_RMENU)
|
#if defined(HAVE_RGUI) || defined(HAVE_RMENU) || defined(HAVE_RMENU_XUI)
|
||||||
char rgui_browser_directory[PATH_MAX];
|
char rgui_browser_directory[PATH_MAX];
|
||||||
char rgui_config_directory[PATH_MAX];
|
char rgui_config_directory[PATH_MAX];
|
||||||
#endif
|
#endif
|
||||||
|
@ -237,7 +237,7 @@ typedef struct gl
|
|||||||
struct scaler_ctx pbo_readback_scaler;
|
struct scaler_ctx pbo_readback_scaler;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_RGUI) || defined(HAVE_RMENU)
|
#if defined(HAVE_RGUI) || defined(HAVE_RMENU) || defined(HAVE_RMENU_XUI)
|
||||||
GLuint rgui_texture;
|
GLuint rgui_texture;
|
||||||
bool rgui_texture_enable;
|
bool rgui_texture_enable;
|
||||||
bool rgui_texture_full_screen;
|
bool rgui_texture_full_screen;
|
||||||
|
@ -1066,7 +1066,7 @@ static void xdk_d3d_apply_state_changes(void *data)
|
|||||||
d3d->should_resize = true;
|
d3d->should_resize = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(HAVE_RGUI) || defined(HAVE_RMENU)
|
#if defined(HAVE_RGUI) || defined(HAVE_RMENU) || defined(HAVE_RMENU_XUI)
|
||||||
static void xdk_d3d_set_texture_frame(void *data,
|
static void xdk_d3d_set_texture_frame(void *data,
|
||||||
const void *frame, bool rgb32, unsigned width, unsigned height,
|
const void *frame, bool rgb32, unsigned width, unsigned height,
|
||||||
float alpha)
|
float alpha)
|
||||||
@ -1103,7 +1103,7 @@ static const video_poke_interface_t d3d_poke_interface = {
|
|||||||
#endif
|
#endif
|
||||||
xdk_d3d_set_aspect_ratio,
|
xdk_d3d_set_aspect_ratio,
|
||||||
xdk_d3d_apply_state_changes,
|
xdk_d3d_apply_state_changes,
|
||||||
#if defined(HAVE_RGUI) || defined(HAVE_RMENU)
|
#if defined(HAVE_RGUI) || defined(HAVE_RMENU) || defined(HAVE_RMENU_XUI)
|
||||||
xdk_d3d_set_texture_frame,
|
xdk_d3d_set_texture_frame,
|
||||||
xdk_d3d_set_texture_enable,
|
xdk_d3d_set_texture_enable,
|
||||||
#endif
|
#endif
|
||||||
|
@ -67,7 +67,7 @@ typedef struct xdk_d3d_video
|
|||||||
LPDIRECT3DTEXTURE lpTexture_ot;
|
LPDIRECT3DTEXTURE lpTexture_ot;
|
||||||
IDirect3DVertexDeclaration9* v_decl;
|
IDirect3DVertexDeclaration9* v_decl;
|
||||||
#endif
|
#endif
|
||||||
#if defined(HAVE_RGUI) || defined(HAVE_RMENU)
|
#if defined(HAVE_RGUI) || defined(HAVE_RMENU) || defined(HAVE_RMENU_XUI)
|
||||||
bool rgui_texture_enable;
|
bool rgui_texture_enable;
|
||||||
bool rgui_texture_full_screen;
|
bool rgui_texture_full_screen;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user