tinydisplay: Set correct number of depth bits in buffer

This commit is contained in:
rdb 2024-11-09 19:02:28 +01:00
parent d23e44e2f1
commit 05d23cae35
1 changed files with 2 additions and 0 deletions

View File

@ -136,6 +136,8 @@ open_buffer() {
return false;
}
_fb_properties.set_depth_bits(ZB_Z_BITS);
tinygsg->_current_frame_buffer = _frame_buffer;
tinygsg->reset_if_new();