| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -4,10 +4,10 @@ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  | 
					 | 
					 | 
					 | 
					  | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					@tableofcontents | 
					 | 
					 | 
					 | 
					@tableofcontents | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					This guide introduces the basic concepts of GLFW and describes initialization reference | 
					 | 
					 | 
					 | 
					This guide introduces the basic concepts of GLFW and describes initialization, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					error handling and API guarantees and limitations.  For a broad but shallow | 
					 | 
					 | 
					 | 
					error handling and API guarantees and limitations.  For a broad but shallow | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					tutorial, see @ref quick_guide instead.  For details on a specific function, see the | 
					 | 
					 | 
					 | 
					tutorial, see @ref quick_guide instead.  For details about a specific function, | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					[reference documentation](@ref init). | 
					 | 
					 | 
					 | 
					see the [reference documentation](@ref init). | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					There are also guides for the other areas of GLFW. | 
					 | 
					 | 
					 | 
					There are also guides for the other areas of GLFW. | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -34,7 +34,7 @@ successfully initialized, and only from the main thread. | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 - @ref glfwInit | 
					 | 
					 | 
					 | 
					 - @ref glfwInit | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 - @ref glfwTerminate | 
					 | 
					 | 
					 | 
					 - @ref glfwTerminate | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					Calling any other function before that time will cause a @ref | 
					 | 
					 | 
					 | 
					Calling any other function before successful initialization will cause a @ref | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					GLFW_NOT_INITIALIZED error. | 
					 | 
					 | 
					 | 
					GLFW_NOT_INITIALIZED error. | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -50,13 +50,15 @@ if (!glfwInit()) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					} | 
					 | 
					 | 
					 | 
					} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					@endcode | 
					 | 
					 | 
					 | 
					@endcode | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					If any part of initialization fails, all remaining bits are terminated as if | 
					 | 
					 | 
					 | 
					If any part of initialization fails, any parts that succeeded are terminated as | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					@ref glfwTerminate was called.  The library only needs to be initialized once | 
					 | 
					 | 
					 | 
					if @ref glfwTerminate had been called.  The library only needs to be initialized | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					and additional calls to an already initialized library will simply return | 
					 | 
					 | 
					 | 
					once and additional calls to an already initialized library will simply return | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					`GLFW_TRUE` immediately. | 
					 | 
					 | 
					 | 
					`GLFW_TRUE` immediately. | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					Once the library has been successfully initialized, it should be terminated | 
					 | 
					 | 
					 | 
					Once the library has been successfully initialized, it should be terminated | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					before the application exits. | 
					 | 
					 | 
					 | 
					before the application exits.  Modern systems are very good at freeing resources | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					allocated by programs that simply exit, but GLFW sometimes has to change global | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					system settings and these might not be restored without termination. | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					@subsection intro_init_terminate Terminating GLFW | 
					 | 
					 | 
					 | 
					@subsection intro_init_terminate Terminating GLFW | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -70,7 +72,7 @@ glfwTerminate(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					This will destroy any remaining window, monitor and cursor objects, restore any | 
					 | 
					 | 
					 | 
					This will destroy any remaining window, monitor and cursor objects, restore any | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					modified gamma ramps, re-enable the screensaver if it had been disabled and free | 
					 | 
					 | 
					 | 
					modified gamma ramps, re-enable the screensaver if it had been disabled and free | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					any resources allocated by GLFW. | 
					 | 
					 | 
					 | 
					any other resources allocated by GLFW. | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					Once the library is terminated, it is as if it had never been initialized and | 
					 | 
					 | 
					 | 
					Once the library is terminated, it is as if it had never been initialized and | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					you will need to initialize it again before being able to use GLFW.  If the | 
					 | 
					 | 
					 | 
					you will need to initialize it again before being able to use GLFW.  If the | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -282,9 +284,10 @@ allow calls from any thread in future releases. | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					@subsection compatibility Version compatibility | 
					 | 
					 | 
					 | 
					@subsection compatibility Version compatibility | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					GLFW guarantees binary backward compatibility with earlier minor versions of the | 
					 | 
					 | 
					 | 
					GLFW guarantees source and binary backward compatibility with earlier minor | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					API.  This means that you can drop in a newer version of the GLFW DLL / shared | 
					 | 
					 | 
					 | 
					versions of the API.  This means that you can drop in a newer version of the | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					library / dynamic library and existing applications will continue to run. | 
					 | 
					 | 
					 | 
					library and existing programs will continue to compile and existing binaries | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					will continue to run. | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					Once a function or constant has been added, the signature of that function or | 
					 | 
					 | 
					 | 
					Once a function or constant has been added, the signature of that function or | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					value of that constant will remain unchanged until the next major version of | 
					 | 
					 | 
					 | 
					value of that constant will remain unchanged until the next major version of | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |