Summary: |
undefined reference to glActiveTexture and glBlendFuncSeparate |
Product: |
cairo
|
Reporter: |
daniel |
Component: |
gl backend | Assignee: |
cairo-bugs mailing list <cairo-bugs> |
Status: |
RESOLVED
MOVED
|
QA Contact: |
cairo-bugs mailing list <cairo-bugs> |
Severity: |
normal
|
|
|
Priority: |
medium
|
CC: |
daniel
|
Version: |
unspecified | |
|
Hardware: |
All | |
|
OS: |
Windows (All) | |
|
Whiteboard: |
|
i915 platform:
|
|
i915 features:
|
|
Attachments: |
Patch that solves the issue.
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 103866 [details] 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.