mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-12 05:00:28 +01:00
Mark destroyed context as not current. (Frank Warmerdam)
This commit is contained in:
parent
4991d0f9f3
commit
99683bd830
1 changed files with 4 additions and 1 deletions
|
|
@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue