[Webkit-unassigned] [Bug 208907] graphics/GLContext.cpp fails compiling with error: ‘initializeOpenGLShims’ was not declared in this scope; did you mean ‘initializeOpenGLShimsIfNeeded’?

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 11 01:47:14 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=208907

--- Comment #1 from Дилян Палаузов <dpa-webkit at aegee.org> ---
GlContext.cpp contains:


#if USE(GLX)
#include "GLContextGLX.h"
#include "OpenGLShims.h"
#endif



static bool initializeOpenGLShimsIfNeeded()
{
#if USE(OPENGL_ES) || USE(LIBEPOXY)
    return true;
#else
    static bool initialized = false;
    static bool success = true;
    if (!initialized) {
        success = initializeOpenGLShims();
        initialized = true;
    }
    return success;
#endif
}

So when GLX, OPENGL_ES and LIBEPOXY are not defined, which somehow happens to be the case on my system, compilation fails.  My system does have libepoxy 1.5.3.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200311/4995a2f5/attachment.htm>


More information about the webkit-unassigned mailing list