Fix #132
Fixes deprecated call to xxxAttributeAndModes in examples
Merge pull request #210 from cedricpinson/fix-stateSet-id-issue-132

Fix #132