[core] Move OpenGL extension initialization to Backend
This commit is contained in:
committed by
John Firebaugh
parent
8e5214144e
commit
234384ece9
@@ -44,7 +44,7 @@ struct GLXImpl : public HeadlessBackend::Impl {
|
||||
GLXFBConfig* fbConfigs = nullptr;
|
||||
};
|
||||
|
||||
gl::glProc HeadlessBackend::initializeExtension(const char* name) {
|
||||
gl::ProcAddress HeadlessBackend::initializeExtension(const char* name) {
|
||||
return glXGetProcAddress(reinterpret_cast<const GLubyte*>(name));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user