From 4c51a0f6eba0aee7b959a81b7034dbdf764e53ec Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sun, 11 Jul 2021 19:55:32 +0200 Subject: render/egl: rename wlr_egl.exts to better match Khronos Khronos refers to extensions with their namespace as a prefix in uppercase. Change our naming to align with Khronos conventions. This also makes grepping easier. --- render/gles2/renderer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'render/gles2') diff --git a/render/gles2/renderer.c b/render/gles2/renderer.c index 7ca08d9f..7ef076c5 100644 --- a/render/gles2/renderer.c +++ b/render/gles2/renderer.c @@ -744,7 +744,7 @@ struct wlr_renderer *wlr_gles2_renderer_create(struct wlr_egl *egl) { wlr_log(WLR_INFO, "GL renderer: %s", glGetString(GL_RENDERER)); wlr_log(WLR_INFO, "Supported GLES2 extensions: %s", exts_str); - if (!renderer->egl->exts.image_dmabuf_import_ext) { + if (!renderer->egl->exts.EXT_image_dma_buf_import) { wlr_log(WLR_ERROR, "EGL_EXT_image_dma_buf_import not supported"); free(renderer); return NULL; -- cgit v1.2.3