mirror of
https://github.com/libretro/RetroArch
synced 2025-01-17 10:18:17 +00:00
(gfx_display.c) Get rid of more header includes
This commit is contained in:
parent
13ea2ceaa6
commit
2f525187a1
@ -17,8 +17,6 @@
|
||||
#include "gfx_display.h"
|
||||
#include "gfx_animation.h"
|
||||
|
||||
#include "../configuration.h"
|
||||
#include "../frontend/frontend.h"
|
||||
#include "video_coord_array.h"
|
||||
#include "../verbosity.h"
|
||||
|
||||
@ -887,10 +885,8 @@ void gfx_display_draw_cursor(
|
||||
{
|
||||
gfx_display_ctx_draw_t draw;
|
||||
struct video_coords coords;
|
||||
settings_t *settings = config_get_ptr();
|
||||
bool cursor_visible = settings->bools.video_fullscreen ||
|
||||
!gfx_display_has_windowed;
|
||||
if (!settings->bools.menu_mouse_enable || !cursor_visible)
|
||||
bool cursor_visible = video_info->fullscreen;
|
||||
if (!video_info->menu_mouse_enable || !cursor_visible)
|
||||
return;
|
||||
|
||||
coords.vertices = 4;
|
||||
|
@ -22136,6 +22136,7 @@ void video_driver_build_info(video_frame_info_t *video_info)
|
||||
video_info->max_swapchain_images = settings->uints.video_max_swapchain_images;
|
||||
video_info->windowed_fullscreen = settings->bools.video_windowed_fullscreen;
|
||||
video_info->fullscreen = settings->bools.video_fullscreen || retroarch_is_forced_fullscreen();
|
||||
video_info->menu_mouse_enable = settings->bools.menu_mouse_enable;
|
||||
video_info->monitor_index = settings->uints.video_monitor_index;
|
||||
video_info->shared_context = settings->bools.video_shared_context;
|
||||
|
||||
|
@ -1091,6 +1091,7 @@ typedef struct video_info
|
||||
|
||||
typedef struct video_frame_info
|
||||
{
|
||||
bool menu_mouse_enable;
|
||||
bool widgets_inited;
|
||||
bool widgets_is_paused;
|
||||
bool widgets_is_fast_forwarding;
|
||||
|
Loading…
Reference in New Issue
Block a user