mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 19:18:12 +02:00
wgl: Use CreateWindowA with an ASCII string
... or else compilation with fail on Windows if UNICODE is defined Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
493aaf0f15
commit
2a1e7e18de
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ _wgl_dummy_ctx (cairo_wgl_context_t *ctx)
|
|||
|
||||
RegisterClassExA (&wincl);
|
||||
|
||||
ctx->dummy_wnd = CreateWindow ("cairo_wgl_context_dummy", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
ctx->dummy_wnd = CreateWindowA ("cairo_wgl_context_dummy", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
ctx->dummy_dc = GetDC (ctx->dummy_wnd);
|
||||
|
||||
ZeroMemory (&pfd, sizeof (PIXELFORMATDESCRIPTOR));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue