mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-07 08:36:02 -10:00
Same stuff as before in prior commits - clear deliniation between
frame_width/frame_height and backbuffer width/height
This commit is contained in:
1 parent
61ce292dca
commit
e675181c42
2 files changed
+11
-11
No files matched your search
@@ -53,8 +53,8 @@ enum
|
||||
typedef struct network
|
||||
{
|
||||
int fd;
|
||||
unsigned video_width;
|
||||
unsigned video_height;
|
||||
unsigned frame_width;
|
||||
unsigned frame_height;
|
||||
unsigned screen_width;
|
||||
unsigned screen_height;
|
||||
uint16_t port;
|
||||
@@ -223,11 +223,11 @@ static bool network_gfx_frame(void *data, const void *frame,
|
||||
#endif
|
||||
}
|
||||
|
||||
if ( (network->video_width != width)
|
||||
|| (network->video_height != height))
|
||||
if ( (network->frame_width != width)
|
||||
|| (network->frame_height != height))
|
||||
{
|
||||
network->video_width = width;
|
||||
network->video_height = height;
|
||||
network->frame_width = width;
|
||||
network->frame_height = height;
|
||||
|
||||
if (network_video_temp_buf)
|
||||
free(network_video_temp_buf);
|
||||
|
||||
@@ -65,8 +65,8 @@
|
||||
typedef struct sixel
|
||||
{
|
||||
SIXELSTATUS sixel_status;
|
||||
unsigned video_width;
|
||||
unsigned video_height;
|
||||
unsigned frame_width;
|
||||
unsigned frame_height;
|
||||
unsigned screen_width;
|
||||
unsigned screen_height;
|
||||
} sixel_t;
|
||||
@@ -380,12 +380,12 @@ static bool sixel_gfx_frame(void *data, const void *frame,
|
||||
#endif
|
||||
}
|
||||
|
||||
if (sixel->video_width != width || sixel->video_height != height)
|
||||
if (sixel->frame_width != width || sixel->frame_height != height)
|
||||
{
|
||||
scroll_on_demand(sixel->screen_height);
|
||||
|
||||
sixel->video_width = width;
|
||||
sixel->video_height = height;
|
||||
sixel->frame_width = width;
|
||||
sixel->frame_height = height;
|
||||
|
||||
if (sixel_temp_buf)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user