瀏覽代碼

Added the wingdi header to the GDI binding

Benedikt Müssig 3 年之前
父節點
當前提交
628cc61263
共有 1 個文件被更改,包括 1 次插入0 次删除
  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);