Use one device context for our window class.
authorNathan Letwory <nathan@letworyinteractive.com>
Thu, 21 Oct 2010 07:18:38 +0000 (07:18 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Thu, 21 Oct 2010 07:18:38 +0000 (07:18 +0000)
intern/ghost/intern/GHOST_SystemWin32.cpp

index da333ce4f083c45cb49df49f0759c9a420b380a4..cf6a5f8dc9e230a21a0d43ac3c057efb859a743e 100644 (file)
@@ -356,7 +356,7 @@ GHOST_TSuccess GHOST_SystemWin32::init()
 
        if (success) {
                WNDCLASS wc;
-               wc.style= CS_HREDRAW | CS_VREDRAW;
+               wc.style= CS_HREDRAW | CS_VREDRAW | CS_CLASSDC;
                wc.lpfnWndProc= s_wndProc;
                wc.cbClsExtra= 0;
                wc.cbWndExtra= 0;