mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 19:24:46 +00:00
Add width/height members to video_frame_info
This commit is contained in:
parent
885f30b429
commit
f3e700aa76
@ -2140,6 +2140,8 @@ void video_driver_frame(const void *data, unsigned width,
|
|||||||
video_driver_build_info(&video_info);
|
video_driver_build_info(&video_info);
|
||||||
|
|
||||||
video_driver_threaded_lock();
|
video_driver_threaded_lock();
|
||||||
|
video_info.width = video_driver_width;
|
||||||
|
video_info.height = video_driver_height;
|
||||||
video_info.frame_count = video_driver_frame_count;
|
video_info.frame_count = video_driver_frame_count;
|
||||||
video_driver_frame_count++;
|
video_driver_frame_count++;
|
||||||
video_driver_threaded_unlock();
|
video_driver_threaded_unlock();
|
||||||
|
@ -105,6 +105,9 @@ typedef struct video_frame_info
|
|||||||
char window_text[128];
|
char window_text[128];
|
||||||
char fps_text[128];
|
char fps_text[128];
|
||||||
uint64_t frame_count;
|
uint64_t frame_count;
|
||||||
|
|
||||||
|
unsigned width;
|
||||||
|
unsigned height;
|
||||||
} video_frame_info_t;
|
} video_frame_info_t;
|
||||||
|
|
||||||
/* Optionally implemented interface to poke more
|
/* Optionally implemented interface to poke more
|
||||||
|
Loading…
Reference in New Issue
Block a user