-
-
Notifications
You must be signed in to change notification settings - Fork 466
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored OpenGL support testing (#1761)
This is an attempt to fix segfaults on some systems. The OpenGL test helper class (sdl_window_test_helper) now uses internal CHW instance just like DX11 (and DX9) renderer. GLAD is to be initialized twice for sanity: once during testing and once during renderer initialization (if OpenGL was selected) CHW now correctly deletes created framebuffer on destroy.
- Loading branch information
1 parent
99e06cb
commit 6df6613
Showing
2 changed files
with
44 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters