mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:32:46 +00:00 
			
		
		
		
	LibGL: Improve constants and types compatibility
When compiling with SDL_opengl, all kinds of differences between LibGL and OpenGL constants and types popped up as redefinition warnings and errors. This fixes all LibGL-related warnings when compiling PrBoom+ :^)
This commit is contained in:
		
							parent
							
								
									4d090487ac
								
							
						
					
					
						commit
						f08411ba3f
					
				
					 5 changed files with 58 additions and 53 deletions
				
			
		|  | @ -354,7 +354,7 @@ void glFinish() | |||
|     g_gl_context->gl_finish(); | ||||
| } | ||||
| 
 | ||||
| void glFogfv(GLenum pname, GLfloat* params) | ||||
| void glFogfv(GLenum pname, GLfloat const* params) | ||||
| { | ||||
|     g_gl_context->gl_fogfv(pname, params); | ||||
| } | ||||
|  | @ -444,7 +444,7 @@ void glGetMaterialiv(GLenum face, GLenum pname, GLint* params) | |||
|     g_gl_context->gl_get_material(face, pname, params, GL_INT); | ||||
| } | ||||
| 
 | ||||
| GLubyte* glGetString(GLenum name) | ||||
| GLubyte const* glGetString(GLenum name) | ||||
| { | ||||
|     return g_gl_context->gl_get_string(name); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jelle Raaijmakers
						Jelle Raaijmakers