Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
igagis committed Mar 27, 2024
1 parent 4c73644 commit 087f882
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/ruisapp/glue/linux/glue_wayland.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ struct window_wrapper : public utki::destructable {
)
{
// not a window geometry event, ignore
if (width == 0 && height == 0){
if (width == 0 && height == 0) {
return;
}

Expand Down Expand Up @@ -519,7 +519,8 @@ struct window_wrapper : public utki::destructable {
eglTerminate(this->egl_display);
}

void swap_frame_buffers(){
void swap_frame_buffers()
{
eglSwapBuffers(this->egl_display, this->egl_surface);
}
} egl_context;
Expand Down

0 comments on commit 087f882

Please sign in to comment.