Closed JRazek closed 2 years ago
Removed default constructor from GLContextSwitch and initialize context_ from GLContextSwitch(std::unique_ptr<SwitchableGLContext> context)
GLContextSwitch
context_
GLContextSwitch(std::unique_ptr<SwitchableGLContext> context)
Prevent data dereference when null.
data
Removed GLContextResult()
GLContextResult()
We shouldn't make patches to the upstream code in our forked repo unless there's a special reason. Consider opening an issue in the upstream repo if you want to fix these issues.
Removed default constructor from
GLContextSwitch
and initializecontext_
fromGLContextSwitch(std::unique_ptr<SwitchableGLContext> context)
Prevent
data
dereference when null.Removed
GLContextResult()