Frisbee compilation fix.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4007
This commit is contained in:
		
							parent
							
								
									7af6c79dbb
								
							
						
					
					
						commit
						62a8ce4897
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -1313,9 +1313,9 @@ static void GUI_StartUp(Section * sec) {
 | 
			
		|||
	glUnmapBufferARB = (PFNGLUNMAPBUFFERARBPROC)SDL_GL_GetProcAddress("glUnmapBufferARB");
 | 
			
		||||
	const char * gl_ext = (const char *)glGetString (GL_EXTENSIONS);
 | 
			
		||||
	if(gl_ext && *gl_ext){
 | 
			
		||||
		sdl.opengl.packed_pixel=(strstr(gl_ext,"EXT_packed_pixels") > 0);
 | 
			
		||||
		sdl.opengl.paletted_texture=(strstr(gl_ext,"EXT_paletted_texture") > 0);
 | 
			
		||||
		sdl.opengl.pixel_buffer_object=(strstr(gl_ext,"GL_ARB_pixel_buffer_object") >0 ) &&
 | 
			
		||||
		sdl.opengl.packed_pixel=(strstr(gl_ext,"EXT_packed_pixels") != NULL);
 | 
			
		||||
		sdl.opengl.paletted_texture=(strstr(gl_ext,"EXT_paletted_texture") != NULL);
 | 
			
		||||
		sdl.opengl.pixel_buffer_object=(strstr(gl_ext,"GL_ARB_pixel_buffer_object") != NULL ) &&
 | 
			
		||||
		    glGenBuffersARB && glBindBufferARB && glDeleteBuffersARB && glBufferDataARB &&
 | 
			
		||||
		    glMapBufferARB && glUnmapBufferARB;
 | 
			
		||||
    	} else {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue