mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(Vita) Buildfix
This commit is contained in:
parent
2e215c4efd
commit
26bb0105c0
@ -84,8 +84,8 @@ typedef struct vita_video
|
||||
bool overlay_full_screen;
|
||||
#endif
|
||||
|
||||
unsigned width;
|
||||
unsigned height;
|
||||
unsigned video_width;
|
||||
unsigned video_height;
|
||||
|
||||
} vita_video_t;
|
||||
|
||||
|
@ -92,8 +92,8 @@ static void *vita2d_gfx_init(const video_info_t *video,
|
||||
vita->tex_filter = video->smooth
|
||||
? SCE_GXM_TEXTURE_FILTER_LINEAR : SCE_GXM_TEXTURE_FILTER_POINT;
|
||||
|
||||
vita->width = temp_width;
|
||||
vita->height = temp_height;
|
||||
vita->video_width = temp_width;
|
||||
vita->video_height = temp_height;
|
||||
|
||||
video_driver_set_size(temp_width, temp_height);
|
||||
vita2d_gfx_set_viewport(vita, temp_width, temp_height, false, true);
|
||||
|
@ -275,8 +275,8 @@ static void vita2d_font_render_msg(
|
||||
alpha, r_dark, g_dark, b_dark, alpha_dark;
|
||||
vita_video_t *vita = (vita_video_t *)userdata;
|
||||
vita_font_t *font = (vita_font_t *)data;
|
||||
unsigned width = vita->width;
|
||||
unsigned height = vita->height;
|
||||
unsigned width = vita->video_width;
|
||||
unsigned height = vita->video_height;
|
||||
settings_t *settings = config_get_ptr();
|
||||
float video_msg_pos_x = settings->floats.video_msg_pos_x;
|
||||
float video_msg_pos_y = settings->floats.video_msg_pos_y;
|
||||
|
Loading…
x
Reference in New Issue
Block a user