Skip to content

Commit

Permalink
vsync
Browse files Browse the repository at this point in the history
  • Loading branch information
sguionni committed Oct 10, 2024
1 parent fb32e03 commit 0e16918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ui/qt/src/ui/qt/widget/opengl_widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace VTX::UI::QT::Widget
format.setProfile( QSurfaceFormat::CoreProfile );
format.setRenderableType( QSurfaceFormat::OpenGL );
format.setSwapBehavior( QSurfaceFormat::DoubleBuffer );
format.setSwapInterval( 0 );
format.setSwapInterval( 1 );

// Create context.
_context = new QOpenGLContext();
Expand Down

0 comments on commit 0e16918

Please sign in to comment.