mirror of
				https://github.com/Ryujinx/Opentk.git
				synced 2025-11-04 15:05:07 +00:00 
			
		
		
		
	Use Wgl::GetAddress instead of Wgl::GetProcAddress in Utilities.
This commit is contained in:
		
							parent
							
								
									9215744415
								
							
						
					
					
						commit
						1f33a6dd84
					
				| 
						 | 
				
			
			@ -182,7 +182,7 @@ namespace OpenTK.Platform
 | 
			
		|||
            #if WIN32
 | 
			
		||||
            if (Configuration.RunningOnWindows)
 | 
			
		||||
            {
 | 
			
		||||
                return Platform.Windows.Wgl.GetProcAddress;
 | 
			
		||||
                return Platform.Windows.Wgl.GetAddress;
 | 
			
		||||
            }
 | 
			
		||||
            #endif
 | 
			
		||||
            #if X11
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -94,7 +94,7 @@ namespace OpenTK.Platform.Windows
 | 
			
		|||
            get { return sync; }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        private IntPtr GetAddress(string function_string)
 | 
			
		||||
        internal static IntPtr GetAddress(string function_string)
 | 
			
		||||
        {
 | 
			
		||||
            IntPtr address = Wgl.GetProcAddress(function_string);
 | 
			
		||||
            if (!IsValid(address))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue