-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DebugLayer] Don't cache rendering caps in debug layer too early.
This was causing a crash on Linux when a default GLContext is created with no X11 visual. Instead of caching a reference to the RendereringCapabilities struct from the instance renderer, simply use GetRendereringCaps() function on demand as the render system will cache it as needed. TODO: Even a default GLContext must provide a valid X11 visual. This needs to be fixed and will likely cause a crash in an upcoming example project on Linux.
- Loading branch information
1 parent
7681d6e
commit 0f800a2
Showing
2 changed files
with
31 additions
and
24 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