Bug 82054 - undefined reference to glActiveTexture and glBlendFuncSeparate
Summary: undefined reference to glActiveTexture and glBlendFuncSeparate
Status: RESOLVED MOVED
Alias: None
Product: cairo
Classification: Unclassified
Component: gl backend (show other bugs)
Version: unspecified
Hardware: All Windows (All)
: medium normal
Assignee: cairo-bugs mailing list
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-02 15:34 UTC by daniel
Modified: 2018-08-25 13:48 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Patch that solves the issue. (7.28 KB, text/plain)
2014-08-02 15:34 UTC, daniel
Details

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.