mirror of
				https://github.com/Ryujinx/Opentk.git
				synced 2025-11-04 15:05:07 +00:00 
			
		
		
		
	Use GLArea MakeCurrent method in disposal as well.
This commit is contained in:
		
							parent
							
								
									ed126403b3
								
							
						
					
					
						commit
						eb317df44c
					
				| 
						 | 
				
			
			@ -131,7 +131,7 @@ namespace OpenTK
 | 
			
		|||
#endif
 | 
			
		||||
            if (disposing)
 | 
			
		||||
            {
 | 
			
		||||
                _GraphicsContext.MakeCurrent(_WindowInfo);
 | 
			
		||||
                MakeCurrent();
 | 
			
		||||
                OnShuttingDown();
 | 
			
		||||
                if (GraphicsContext.ShareContexts && (Interlocked.Decrement(ref _GraphicsContextCount) == 0))
 | 
			
		||||
                {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue