Added the wingdi header to the GDI binding

This commit is contained in:
Benedikt Müssig 2022-05-12 13:04:42 +02:00 committed by GitHub
parent e698bb1531
commit 628cc61263
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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);