glamor_egl: Remove check for KHR_surfaceless_context_*
Those extensions don't exist. There's only surfaceless_context. Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
		
							parent
							
								
									6e793ae085
								
							
						
					
					
						commit
						f6bf5f1c74
					
				| 
						 | 
					@ -699,12 +699,7 @@ glamor_egl_init(ScrnInfoPtr scrn, int fd)
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    GLAMOR_CHECK_EGL_EXTENSION(KHR_gl_texture_2D_image);
 | 
					    GLAMOR_CHECK_EGL_EXTENSION(KHR_gl_texture_2D_image);
 | 
				
			||||||
#ifdef GLAMOR_GLES2
 | 
					    GLAMOR_CHECK_EGL_EXTENSION(KHR_surfaceless_context);
 | 
				
			||||||
    GLAMOR_CHECK_EGL_EXTENSIONS(KHR_surfaceless_context, KHR_surfaceless_gles2);
 | 
					 | 
				
			||||||
#else
 | 
					 | 
				
			||||||
    GLAMOR_CHECK_EGL_EXTENSIONS(KHR_surfaceless_context,
 | 
					 | 
				
			||||||
                                KHR_surfaceless_opengl);
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef GLAMOR_GLES2
 | 
					#ifndef GLAMOR_GLES2
 | 
				
			||||||
    glamor_egl->context = eglCreateContext(glamor_egl->display,
 | 
					    glamor_egl->context = eglCreateContext(glamor_egl->display,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue