Don't use CS_CLASSDC after all. Makes drawing multiple windows funky.
[blender-staging.git] / intern / ghost / intern / GHOST_SystemWin32.cpp
index cf6a5f8dc9e230a21a0d43ac3c057efb859a743e..da333ce4f083c45cb49df49f0759c9a420b380a4 100644 (file)
@@ -356,7 +356,7 @@ GHOST_TSuccess GHOST_SystemWin32::init()
 
        if (success) {
                WNDCLASS wc;
-               wc.style= CS_HREDRAW | CS_VREDRAW | CS_CLASSDC;
+               wc.style= CS_HREDRAW | CS_VREDRAW;
                wc.lpfnWndProc= s_wndProc;
                wc.cbClsExtra= 0;
                wc.cbWndExtra= 0;