mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-22 21:35:51 +12:00
Fix async shader compiler on Windows
This commit is contained in:
parent
0793032ece
commit
927a19d4f5
2 changed files with 19 additions and 0 deletions
11
third_party/duckstation/gl/context_wgl.cpp
vendored
11
third_party/duckstation/gl/context_wgl.cpp
vendored
|
@ -19,6 +19,17 @@ static void* GetProcAddressCallback(const char* name)
|
|||
}
|
||||
|
||||
namespace GL {
|
||||
static bool ReloadWGL(HDC dc)
|
||||
{
|
||||
if (!gladLoadWGL(dc))
|
||||
{
|
||||
Log_ErrorPrint("Loading GLAD WGL functions failed");
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
ContextWGL::ContextWGL(const WindowInfo& wi) : Context(wi) {}
|
||||
|
||||
ContextWGL::~ContextWGL()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue