diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2010-10-21 11:18:38 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2010-10-21 11:18:38 +0400 |
commit | 6e43a400e32f0e75176a8c573a1eb93cd4e6b7b8 (patch) | |
tree | 09a0415ad6acb1a101d6dc19a595444de561c30c /intern | |
parent | 3cbb5611d5db8e441adb6552f5abbe34312a473e (diff) |
Use one device context for our window class.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_SystemWin32.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_SystemWin32.cpp b/intern/ghost/intern/GHOST_SystemWin32.cpp index da333ce4f08..cf6a5f8dc9e 100644 --- a/intern/ghost/intern/GHOST_SystemWin32.cpp +++ b/intern/ghost/intern/GHOST_SystemWin32.cpp @@ -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; |