summaryrefslogtreecommitdiff
path: root/tests/OffscreenContextWGL.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2012-01-04 22:29:08 (GMT)
committerMarius Kintel <marius@kintel.net>2012-01-04 22:29:08 (GMT)
commit52dfffd97ba49b603b4814d843cd9be08d040364 (patch)
tree044c93d19aa38ac24822a241babbece7425bfbb2 /tests/OffscreenContextWGL.cc
parent0be212e75d73644b1cff8291a4b6a6fe0098b942 (diff)
parentba8aa515d14cf270c9d0fdf50b4c7c55b3c416a8 (diff)
Merge branch 'master' into threading
Conflicts: RELEASE_NOTES
Diffstat (limited to 'tests/OffscreenContextWGL.cc')
-rw-r--r--tests/OffscreenContextWGL.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/OffscreenContextWGL.cc b/tests/OffscreenContextWGL.cc
index f36671c..75a7ed2 100644
--- a/tests/OffscreenContextWGL.cc
+++ b/tests/OffscreenContextWGL.cc
@@ -105,10 +105,10 @@ bool create_wgl_dummy_context(OffscreenContext &ctx)
wc.style = CS_OWNDC;
wc.lpfnWndProc = WndProc;
wc.hInstance = inst;
- wc.lpszClassName = "OpenSCAD";
+ wc.lpszClassName = (LPCWSTR)"OpenSCAD";
RegisterClass( &wc );
- HWND window = CreateWindow( "OpenSCAD", "OpenSCAD",
+ HWND window = CreateWindow( (LPCWSTR)"OpenSCAD", (LPCWSTR)"OpenSCAD",
WS_CAPTION | WS_POPUPWINDOW, //| WS_VISIBLE,
0, 0, ctx.width, ctx.height, NULL, NULL, inst, NULL );
contact: Jan Huwald // Impressum