Bug 82054

Summary: undefined reference to glActiveTexture and glBlendFuncSeparate
Product: cairo Reporter: daniel
Component: gl backendAssignee: 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.

Description daniel 2014-08-02 15:34:01 UTC
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.
Comment 1 GitLab Migration User 2018-08-25 13:48:19 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/204.

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.