mirror of
https://github.com/simple64/simple64.git
synced 2026-09-07 04:42:43 +02:00
update gui
This commit is contained in:
@@ -8,6 +8,7 @@ OGLWindow::OGLWindow(QSurfaceFormat _format, QWindow *parent)
|
||||
{
|
||||
ogl_init = 0;
|
||||
setSurfaceType(QWindow::OpenGLSurface);
|
||||
setFormat(_format);
|
||||
m_context.setFormat(_format);
|
||||
m_context.create();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user