mirror of https://github.com/stella-emu/stella.git
libretro: fbo alignment
This commit is contained in:
parent
502b8f3a3e
commit
daf4c0e715
|
@ -450,7 +450,7 @@ void retro_get_system_av_info(struct retro_system_av_info *info)
|
|||
info->geometry.base_width = stella.getRenderWidth() - crop_left * (stella.getVideoZoom() == 1 ? 2 : 1);
|
||||
info->geometry.base_height = stella.getRenderHeight();
|
||||
|
||||
info->geometry.max_width = stella.getVideoWidthMax();
|
||||
info->geometry.max_width = ((stella.getVideoWidthMax() + 3) / 4) * 4;
|
||||
info->geometry.max_height = stella.getVideoHeightMax();
|
||||
|
||||
info->geometry.aspect_ratio = stella.getVideoAspectPar() * (float) info->geometry.base_width / (float) info->geometry.base_height;
|
||||
|
|
Loading…
Reference in New Issue