From c0cf5646da0ac11d5b4896cf04fe27c771b7a8fb Mon Sep 17 00:00:00 2001 From: retrowertz Date: Thu, 4 Jan 2018 16:24:37 +0800 Subject: [PATCH] Fix pitch issue This issue affects when running in vulkan driver --- libretro/libretro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretro/libretro.c b/libretro/libretro.c index 3fcf77d..88be797 100644 --- a/libretro/libretro.c +++ b/libretro/libretro.c @@ -286,7 +286,7 @@ void retro_run(void) else frames = 0; - video_cb(frame_buf, VIDEO_WIDTH, VIDEO_HEIGHT, 0); + video_cb(frame_buf, VIDEO_WIDTH, VIDEO_HEIGHT, VIDEO_WIDTH * sizeof(uint32_t)); } bool retro_load_game(const struct retro_game_info *info)