mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-15 23:19:24 +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)
|
||||
return;
|
||||
|
||||
video_driver_cached_frame_set(data, width, height, pitch);
|
||||
|
||||
if (video_frame_scale(data, width, height, pitch))
|
||||
{
|
||||
data = driver->scaler_out;
|
||||
pitch = driver->scaler.out_stride;
|
||||
}
|
||||
|
||||
video_driver_cached_frame_set(data, width, height, pitch);
|
||||
|
||||
/* Slightly messy code,
|
||||
* but we really need to do processing before blocking on VSync
|
||||
* for best possible scheduling.
|
||||
|
Loading…
x
Reference in New Issue
Block a user