Merge pull request #22 from Nadia-h/patch-1

libretro: Fix video being broken with Vulkan
This commit is contained in:
Lior Halphon 2018-01-02 10:42:58 +02:00 committed by GitHub
commit 60862a35c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,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)