History

Fix OpenGL on Vulkan branch

ksuprynowicz committed 1 year ago

Commit fe160b91 parent ded928f17 files · +80 −27Browse files

Showing the changes to interface/src/Application_Graphics.cpp (1 of 17 files). Show all

Unified · Split

interface/src/Application_Graphics.cpp+4−0
@@ -78,7 +78,11 @@ void Application::initializeGL() { · 77 unmodified lines
78 _isGLInitialized = true;78 _isGLInitialized = true;
79 }79 }
80 80
81#ifdef USE_GL
82 _primaryWidget->windowHandle()->setFormat(getDefaultOpenGLSurfaceFormat());
83#else
81 //_primaryWidget->windowHandle()->setFormat(getDefaultOpenGLSurfaceFormat()); // VKTODO84 //_primaryWidget->windowHandle()->setFormat(getDefaultOpenGLSurfaceFormat()); // VKTODO
85#endif
82 86
83 // When loading QtWebEngineWidgets, it creates a global share context on startup.87 // When loading QtWebEngineWidgets, it creates a global share context on startup.
84 // We have to account for this possibility by checking here for an existing88 // We have to account for this possibility by checking here for an existing

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t