Fix the utils copy of glad not being initialized
This commit is contained in:
parent
1a796039d9
commit
1ac25e850a
|
@ -110,6 +110,9 @@ namespace utils {
|
|||
}
|
||||
void GetProcAndDevice(dawnProcTable* procs, dawnDevice* device) override {
|
||||
glfwMakeContextCurrent(mWindow);
|
||||
// Load the GL entry points in our copy of the glad static library
|
||||
gladLoadGLLoader(reinterpret_cast<GLADloadproc>(glfwGetProcAddress));
|
||||
|
||||
dawn_native::opengl::Init(reinterpret_cast<void* (*)(const char*)>(glfwGetProcAddress),
|
||||
procs, device);
|
||||
|
||||
|
|
Loading…
Reference in New Issue