[cairo-bugs] [Bug 82054] New: undefined reference to glActiveTexture and glBlendFuncSeparate

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Aug 2 08:34:01 PDT 2014


          Priority: medium
            Bug ID: 82054
          Assignee: cairo-bugs at cairographics.org
           Summary: undefined reference to glActiveTexture and
        QA Contact: cairo-bugs at cairographics.org
          Severity: normal
    Classification: Unclassified
                OS: Windows (All)
          Reporter: daniel at ekpyron.org
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: gl backend
           Product: cairo

Created attachment 103866
  --> https://bugs.freedesktop.org/attachment.cgi?id=103866&action=edit
Patch that solves the issue.

When compiling cairo with the gl backend enabled on windows with mingw-w64 I
get undefined references to glActiveTexture and glBlendFuncSeparate as the
opengl32 library only exposes OpenGL 1.1 entry points.

I attached a patch that queries the two entry points via the GetProcAddress
mechanism in cairo-gl-dispatcher.c instead. The patch works against
cairo-1.12.16 and the current git version.

You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20140802/ce44ad3a/attachment-0001.html>

More information about the cairo-bugs mailing list