fix global postprocessing framebuffers not reacting to resizes

This commit is contained in:
Andrei Alexeyev 2020-04-24 00:11:54 +03:00
parent a842ba7b7d
commit f12fc3db0f
No known key found for this signature in database
GPG key ID: 363707CD4C7FE8A4

View file

@ -206,7 +206,7 @@ static int video_compare_modes(const void *a, const void *b) {
}
static IntExtent video_get_screen_framebuffer_size(void) {
return r_framebuffer_get_size(video_get_screen_framebuffer());
return r_framebuffer_get_size(NULL);
}
static FloatExtent video_get_viewport_size_for_framebuffer(IntExtent framebuffer_size) {