From e7d3088d714e5d19aa4a1bab1e375d7d4e537907 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 27 Mar 2014 13:44:26 -0700 Subject: win32: Add support for wglUseFontBitmaps(). Fixes #10. --- include/epoxy/wgl.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') 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); -- cgit v1.2.1