~vanvugt/nux/fix-785118

Viewing all changes in revision 357.

  • Committer: Jay Taoko
  • Author(s): Alexandros Frantzis
  • Date: 2011-06-03 15:47:07 UTC
  • mfrom: (356.1.1 nux)
  • Revision ID: jay.taoko@canonical.com-20110603154707-e1ca6mefpszxuv00
Use glGetAttribLocationARB() to get the location index of a shader attribute (LP: #790634).

From the GL spec for glGetActiveAttrib(): "Note that index simply identifies a
member in a list of active attributes, and has no relation to the generic
attribute that the corresponding variable is bound to".

This should fix the black screens for the GLSL code path on Mesa and presumably
other drivers.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: