~vanvugt/compiz/fix-1097664

Viewing all changes in revision 3540.

  • Committer: Tarmac
  • Author(s): Sam Spilsbury
  • Date: 2013-01-04 22:16:51 UTC
  • mfrom: (3534.3.3 compiz.fix_1095915)
  • Revision ID: tarmac-20130104221651-17eluchdy35n1md6
Fix definition of glShaderSource function pointer.

Its GLvoid glShaderSource (GLuint, GLsizei, const GLchar * const *, const GLint *); in the header file, not GLvoid glShaderSource (GLuint, GLsizei, const GLchar **, const GLint *); like the specification.

Use a function pointer cast to work around it.

(LP: #1095915). Fixes: https://bugs.launchpad.net/bugs/1095915.

Approved by PS Jenkins bot, Daniel van Vugt.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: