| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -42,7 +42,7 @@ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					//////                       GLFW internal API                      //////
 | 
					 | 
					 | 
					 | 
					//////                       GLFW internal API                      //////
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					//////////////////////////////////////////////////////////////////////////
 | 
					 | 
					 | 
					 | 
					//////////////////////////////////////////////////////////////////////////
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					void _glfwAllocGammaRamp(GLFWgammaramp* ramp, unsigned int size) | 
					 | 
					 | 
					 | 
					void _glfwAllocGammaArrays(GLFWgammaramp* ramp, unsigned int size) | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					{ | 
					 | 
					 | 
					 | 
					{ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ramp->red = (unsigned short*) calloc(size, sizeof(unsigned short)); | 
					 | 
					 | 
					 | 
					    ramp->red = (unsigned short*) calloc(size, sizeof(unsigned short)); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ramp->green = (unsigned short*) calloc(size, sizeof(unsigned short)); | 
					 | 
					 | 
					 | 
					    ramp->green = (unsigned short*) calloc(size, sizeof(unsigned short)); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -50,7 +50,7 @@ void _glfwAllocGammaRamp(GLFWgammaramp* ramp, unsigned int size) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ramp->size = size; | 
					 | 
					 | 
					 | 
					    ramp->size = size; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					} | 
					 | 
					 | 
					 | 
					} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					void _glfwFreeGammaRamp(GLFWgammaramp* ramp) | 
					 | 
					 | 
					 | 
					void _glfwFreeGammaArrays(GLFWgammaramp* ramp) | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					{ | 
					 | 
					 | 
					 | 
					{ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    free(ramp->red); | 
					 | 
					 | 
					 | 
					    free(ramp->red); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    free(ramp->green); | 
					 | 
					 | 
					 | 
					    free(ramp->green); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -111,7 +111,7 @@ GLFWAPI const GLFWgammaramp* glfwGetGammaRamp(GLFWmonitor* handle) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    _GLFW_REQUIRE_INIT_OR_RETURN(NULL); | 
					 | 
					 | 
					 | 
					    _GLFW_REQUIRE_INIT_OR_RETURN(NULL); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    _glfwFreeGammaRamp(&monitor->currentRamp); | 
					 | 
					 | 
					 | 
					    _glfwFreeGammaArrays(&monitor->currentRamp); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    _glfwPlatformGetGammaRamp(monitor, &monitor->currentRamp); | 
					 | 
					 | 
					 | 
					    _glfwPlatformGetGammaRamp(monitor, &monitor->currentRamp); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    return &monitor->currentRamp; | 
					 | 
					 | 
					 | 
					    return &monitor->currentRamp; | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |