mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
Fix OpenGL behavior under wayland-egl
This commit is contained in:
parent
b0d07a75e5
commit
c7b2a21fcb
3 changed files with 15 additions and 0 deletions
|
|
@ -18,12 +18,14 @@ gl_gs_frame::gl_gs_frame(QScreen* screen, const QRect& geometry, const QIcon& ap
|
|||
m_format.setAlphaBufferSize(0);
|
||||
m_format.setDepthBufferSize(0);
|
||||
m_format.setSwapBehavior(QSurfaceFormat::SwapBehavior::DoubleBuffer);
|
||||
m_format.setSwapInterval(0);
|
||||
if (g_cfg.video.debug_output)
|
||||
{
|
||||
m_format.setOption(QSurfaceFormat::FormatOption::DebugContext);
|
||||
}
|
||||
setFormat(m_format);
|
||||
create();
|
||||
show();
|
||||
}
|
||||
|
||||
draw_context_t gl_gs_frame::make_context()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue