assert instead of throwing an exception when an invalid gl call happens so we get the stack trace.
assert instead of throwing an exception when an invalid gl call happens so we get the stack trace.

git-svn-id: f4e1a40f847802203273bde8e26df4d11611876a@5398 44470bb9-56e9-0310-a0f8-c586564d3dc6

lynxis/libavg,pararthshah/libavg-vaapi,lynxis/libavg,pararthshah/libavg-vaapi,pararthshah/libavg-vaapi,pararthshah/libavg-vaapi,lynxis/libavg,lynxis/libavg