diff options
author | Eric Anholt <eric@anholt.net> | 2014-03-27 13:44:26 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2014-03-27 15:33:21 -0700 |
commit | e7d3088d714e5d19aa4a1bab1e375d7d4e537907 (patch) | |
tree | 7376f7c2b74ec9de7faa193908005669be74fc14 /include | |
parent | 5a37cf88b5a71c450caf9bb94a0d9b379baa0781 (diff) | |
download | libepoxy-e7d3088d714e5d19aa4a1bab1e375d7d4e537907.tar.gz |
win32: Add support for wglUseFontBitmaps().
Fixes #10.
Diffstat (limited to 'include')
-rw-r--r-- | include/epoxy/wgl.h | 6 |
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); |