aboutsummaryrefslogtreecommitdiffstats
path: root/src/win_gl.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-07-12 20:14:34 -0400
committerDavid Robillard <d@drobilla.net>2024-07-12 20:14:34 -0400
commit996196c0db350140f7097e9b463919effd954077 (patch)
treecb493c1b3f8863ddeef4a54af70d9fd9b49ca166 /src/win_gl.c
parent55245b99cc4e7992f34244b773eeb510f3af8904 (diff)
downloadpugl-996196c0db350140f7097e9b463919effd954077.tar.gz
pugl-996196c0db350140f7097e9b463919effd954077.tar.bz2
pugl-996196c0db350140f7097e9b463919effd954077.zip
Windows: Support building with UNICODE
Diffstat (limited to 'src/win_gl.c')
-rw-r--r--src/win_gl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win_gl.c b/src/win_gl.c
index f707fc6..01321d4 100644
--- a/src/win_gl.c
+++ b/src/win_gl.c
@@ -288,7 +288,7 @@ puglGetProcAddress(const char* name)
return func
? func
- : (PuglGlFunc)GetProcAddress(GetModuleHandle("opengl32.dll"), name);
+ : (PuglGlFunc)GetProcAddress(GetModuleHandleA("opengl32.dll"), name);
}
PuglStatus