Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2010-10-21 11:18:38 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2010-10-21 11:18:38 +0400
commit6e43a400e32f0e75176a8c573a1eb93cd4e6b7b8 (patch)
tree09a0415ad6acb1a101d6dc19a595444de561c30c /intern
parent3cbb5611d5db8e441adb6552f5abbe34312a473e (diff)
Use one device context for our window class.
Diffstat (limited to 'intern')
-rw-r--r--intern/ghost/intern/GHOST_SystemWin32.cpp2
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;