[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [39808] trunk/blender/intern/ghost/intern/ GHOST_WindowWin32.cpp: When creating a multisample window for Win32, the first context created, which checks for multisample support, was never being deleted.
Mitchell Stokes
mogurijin at gmail.com
Tue Aug 30 19:30:36 CEST 2011
Revision: 39808
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=39808
Author: moguri
Date: 2011-08-30 17:30:35 +0000 (Tue, 30 Aug 2011)
Log Message:
-----------
When creating a multisample window for Win32, the first context created, which checks for multisample support, was never being deleted.
Modified Paths:
--------------
trunk/blender/intern/ghost/intern/GHOST_WindowWin32.cpp
Modified: trunk/blender/intern/ghost/intern/GHOST_WindowWin32.cpp
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_WindowWin32.cpp 2011-08-30 15:43:00 UTC (rev 39807)
+++ trunk/blender/intern/ghost/intern/GHOST_WindowWin32.cpp 2011-08-30 17:30:35 UTC (rev 39808)
@@ -866,6 +866,8 @@
{
// Make sure we don't screw up the context
+ if (m_hGlRc == s_firsthGLRc)
+ s_firsthGLRc = NULL;
m_drawingContextType = GHOST_kDrawingContextTypeOpenGL;
removeDrawingContext();
More information about the Bf-blender-cvs
mailing list