Fix pitch issue

This issue affects when running in vulkan driver
This commit is contained in:
retrowertz 2018-01-04 16:24:37 +08:00
parent f905c4d0f6
commit c0cf5646da

View File

@ -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)