Browse Source

Added the wingdi header to the GDI binding

Benedikt Müssig 3 years ago
parent
commit
628cc61263
1 changed files with 1 additions and 0 deletions
  1. 1 0
      demo/gdi/nuklear_gdi.h

+ 1 - 0
demo/gdi/nuklear_gdi.h

@@ -15,6 +15,7 @@
 
 #define WIN32_LEAN_AND_MEAN
 #include <windows.h>
+#include <wingdi.h>
 
 typedef struct GdiFont GdiFont;
 NK_API struct nk_context* nk_gdi_init(GdiFont *font, HDC window_dc, unsigned int width, unsigned int height);