[nostalgia/glutils] Make framebuffer default size 1x1
This commit is contained in:
parent
5ea36836bd
commit
2390ae9f7d
@ -85,6 +85,8 @@ GLBuffer generateBuffer() noexcept {
|
||||
}
|
||||
|
||||
FrameBuffer generateFrameBuffer(int width, int height) noexcept {
|
||||
width = ox::max(1, width);
|
||||
height = ox::max(1, height);
|
||||
FrameBuffer fb;
|
||||
fb.width = width;
|
||||
fb.height = height;
|
||||
|
Loading…
Reference in New Issue
Block a user