Skip to content

Commit

Permalink
fix: nothing is rendered in release build
Browse files Browse the repository at this point in the history
  • Loading branch information
anatawa12 committed Nov 10, 2022
1 parent 3f20e4b commit 5770729
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ fn main() {
&font_families,
&mut left_ring.surface,
);
left_ring.surface.flush();
left_ring.gl_tex_id
});

Expand All @@ -221,6 +222,7 @@ fn main() {
&font_families,
&mut right_ring.surface,
);
right_ring.surface.flush();
right_ring.gl_tex_id
});

Expand All @@ -246,6 +248,7 @@ fn main() {
&font_families,
&mut left_ring.surface,
);
left_ring.surface.flush();
left_ring.gl_tex_id
});

Expand Down

0 comments on commit 5770729

Please sign in to comment.