This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch reproducible-widget-previews
in repository efl.

View the commit online.

commit f3422a651c29d779ca2eed67dba030a2b26a9bac
Author: Cedric BAIL <[email protected]>
AuthorDate: Tue Mar 17 17:49:26 2026 -0600

    gl_cocoa: query GL extension string instead of passing NULL
    
    glsym_evas_gl_symbols() was called with NULL for the extension string,
    causing an "GL extension string was empty" error. Query the actual
    extensions from glGetString(GL_EXTENSIONS) after making the context
    current.
    
    Made-with: Cursor
---
 src/modules/evas/engines/gl_cocoa/evas_outbuf.m | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/modules/evas/engines/gl_cocoa/evas_outbuf.m b/src/modules/evas/engines/gl_cocoa/evas_outbuf.m
index e25d1690fd..fbff40f63e 100644
--- a/src/modules/evas/engines/gl_cocoa/evas_outbuf.m
+++ b/src/modules/evas/engines/gl_cocoa/evas_outbuf.m
@@ -126,10 +126,9 @@ evas_outbuf_new(Evas_Engine_Info_GL_Cocoa *info,
         goto die;
      }
    ob->ns_gl_view = glview;
+
    [[glview openGLContext] makeCurrentContext];
-   glsym_evas_gl_symbols(_dlsym, NULL); /* XXX: NULL is ok for now for extns
-   * but i need to find out howon osx to get the extension string list
-   * for egl/whatever */
+   glsym_evas_gl_symbols(_dlsym, (const char *)glGetString(GL_EXTENSIONS));
 
    ob->gl_context = glsym_evas_gl_common_context_new();
    if (EINA_UNLIKELY(!ob->gl_context))

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to