If we make EGL_NO_CONTEXT current, all following GL calls are no-ops. This will be a problem when gl-renderer introduces gl_renderer_color_transform containing GL textures and needs to destroy them when weston_color_transform is destroyed. Mesa would print the the warning that glDeleteTextures is no-op. To fix this, keep our GL context current when destroying a GL output. In case EGL_KHR_surfaceless_context is not available, we must use dummy_surface. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>dev
							parent
							
								
									21b8ad5a16
								
							
						
					
					
						commit
						6d0aa8f0e9
					
				
					Loading…
					
					
				
		Reference in new issue