summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/epoxy/wgl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/epoxy/wgl.h b/include/epoxy/wgl.h
index 026d052..2c4682f 100644
--- a/include/epoxy/wgl.h
+++ b/include/epoxy/wgl.h
@@ -46,6 +46,12 @@ extern "C" {
#define __wglxext_h_
#endif
+#ifdef UNICODE
+#define wglUseFontBitmaps wglUseFontBitmapsW
+#else
+#define wglUseFontBitmaps wglUseFontBitmapsA
+#endif
+
#include "epoxy/wgl_generated.h"
bool epoxy_has_wgl_extension(HDC hdc, const char *extension);