mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-19 09:02:26 +00:00
Fix incorrect screenshot colors
This commit is contained in:
parent
3435a61518
commit
4d84021819
@ -94,14 +94,14 @@ static void video_frame(const void *data, unsigned width,
|
|||||||
if (!driver->video_active)
|
if (!driver->video_active)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
video_driver_cached_frame_set(data, width, height, pitch);
|
|
||||||
|
|
||||||
if (video_frame_scale(data, width, height, pitch))
|
if (video_frame_scale(data, width, height, pitch))
|
||||||
{
|
{
|
||||||
data = driver->scaler_out;
|
data = driver->scaler_out;
|
||||||
pitch = driver->scaler.out_stride;
|
pitch = driver->scaler.out_stride;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
video_driver_cached_frame_set(data, width, height, pitch);
|
||||||
|
|
||||||
/* Slightly messy code,
|
/* Slightly messy code,
|
||||||
* but we really need to do processing before blocking on VSync
|
* but we really need to do processing before blocking on VSync
|
||||||
* for best possible scheduling.
|
* for best possible scheduling.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user