mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-19 21:03:42 -07:00
Pause Framebuffer fix (Sirius902)
This commit is contained in:
parent
b302ce7116
commit
559cbb6bc1
1 changed files with 1 additions and 0 deletions
|
@ -650,6 +650,7 @@ static int gfx_opengl_create_framebuffer() {
|
|||
}
|
||||
|
||||
static void gfx_opengl_update_framebuffer_parameters(int fb_id, uint32_t width, uint32_t height, uint32_t msaa_level, bool opengl_invert_y, bool render_target, bool has_depth_buffer, bool can_extract_depth) {
|
||||
framebuffers.resize(framebuffers.size() + 1);
|
||||
Framebuffer& fb = framebuffers[fb_id];
|
||||
|
||||
width = max(width, 1U);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue