summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorKarl Schultz <kschultz@freedesktop.org>2002-09-12 17:05:55 +0000
committerKarl Schultz <kschultz@freedesktop.org>2002-09-12 17:05:55 +0000
commit99683bd830b46737e83aa4adacfa0941c6e098bf (patch)
tree3e25caac91daa024a568c549f4053cc235f84cd2 /src/mesa
parent4991d0f9f39b3fca8458af77ad0a060e76eb5594 (diff)
Mark destroyed context as not current. (Frank Warmerdam)
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/windows/wmesa.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/drivers/windows/wmesa.c b/src/mesa/drivers/windows/wmesa.c
index 040dbd16da..77c800f2b5 100644
--- a/src/mesa/drivers/windows/wmesa.c
+++ b/src/mesa/drivers/windows/wmesa.c
@@ -1,4 +1,4 @@
-/* $Id: wmesa.c,v 1.34 2002/08/28 18:26:38 kschultz Exp $ */
+/* $Id: wmesa.c,v 1.35 2002/09/12 17:05:55 kschultz Exp $ */
/*
* Windows (Win32) device driver for Mesa 3.4
@@ -1404,6 +1404,9 @@ void WMesaDestroyContext( void )
if(parallelMachine)
PRDestroyRenderBuffer();
#endif
+
+ // Destroyed context no longer valid
+ WMesaMakeCurrent( NULL );
}