Skip to content

Commit 6a35b5d

Browse files
committed
fix static framebuffer singleton
1 parent c42210d commit 6a35b5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rmkit/fb/fb.cpy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1014,7 +1014,7 @@ namespace framebuffer:
10141014
return um
10151015

10161016

1017-
static shared_ptr<FB> _FB
1017+
extern shared_ptr<FB> _FB = nullptr
10181018

10191019
// function: framebuffer::get
10201020
// this function returns the app's framebuffer

0 commit comments

Comments
 (0)