mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Get rid of RARCH_LOG in wayland_common - gets rid of warning/error
This commit is contained in:
parent
1fae7964d6
commit
76ddfa022e
@ -419,10 +419,7 @@ static void seat_handle_capabilities(void *data,
|
||||
}
|
||||
|
||||
static void seat_handle_name(void *data,
|
||||
struct wl_seat *seat, const char *name)
|
||||
{
|
||||
RARCH_LOG("[Wayland]: Seat name: %s.\n", name);
|
||||
}
|
||||
struct wl_seat *seat, const char *name) { }
|
||||
|
||||
/* Surface callbacks. */
|
||||
|
||||
@ -438,10 +435,9 @@ static void wl_surface_enter(void *data, struct wl_surface *wl_surface,
|
||||
{
|
||||
if (oi->output == output)
|
||||
{
|
||||
RARCH_LOG("[Wayland]: Entering output #%d, scale %d\n", oi->global_id, oi->scale);
|
||||
wl->current_output = oi;
|
||||
wl->current_output = oi;
|
||||
wl->last_buffer_scale = wl->buffer_scale;
|
||||
wl->buffer_scale = oi->scale;
|
||||
wl->buffer_scale = oi->scale;
|
||||
break;
|
||||
}
|
||||
};
|
||||
@ -500,9 +496,6 @@ static void display_handle_geometry(void *data,
|
||||
output_info_t *oi = (output_info_t*)data;
|
||||
oi->physical_width = physical_width;
|
||||
oi->physical_height = physical_height;
|
||||
|
||||
RARCH_LOG("[Wayland]: Physical width: %d mm x %d mm.\n",
|
||||
physical_width, physical_height);
|
||||
}
|
||||
|
||||
static void display_handle_mode(void *data,
|
||||
@ -519,11 +512,6 @@ static void display_handle_mode(void *data,
|
||||
oi->width = width;
|
||||
oi->height = height;
|
||||
oi->refresh_rate = refresh;
|
||||
|
||||
/* Certain older Wayland implementations report in Hz,
|
||||
* but it should be mHz. */
|
||||
RARCH_LOG("[Wayland]: Video mode: %d x %d @ %.4f Hz.\n",
|
||||
width, height, refresh > 1000 ? refresh / 1000.0 : (double)refresh);
|
||||
}
|
||||
|
||||
static void display_handle_done(void *data,
|
||||
@ -534,8 +522,6 @@ static void display_handle_scale(void *data,
|
||||
int32_t factor)
|
||||
{
|
||||
output_info_t *oi = (output_info_t*)data;
|
||||
|
||||
RARCH_LOG("[Wayland]: Display scale factor %d.\n", factor);
|
||||
oi->scale = factor;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user