Implemented proper buffer reference retaining for complicated functions like glVertexAttribPointer and glTexCoordPointer. Patch by MatthiasM.
Authored by: elias_naur 2007-05-22
Parent: [r2826]
Child: [r2828]