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:
Chris Wilson 2010-11-26 09:46:57 +00:00
parent 493aaf0f15
commit 2a1e7e18de

View file

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