gles branch: Fixed crash in testgpu
gles branch: Fixed crash in testgpu

svn path=/branches/libavg_gles/; revision=8088

hoodie/libavg,scotty007/libavg,yyd01245/libavg,th3infinity/libavg,yyd01245/libavg,scotty007/libavg,libavg/libavg,scotty007/libavg,hoodie/libavg,scotty007/libavg,yyd01245/libavg,yyd01245/libavg,th3infinity/libavg,libavg/libavg,th3infinity/libavg,hoodie/libavg,hoodie/libavg,libavg/libavg,libavg/libavg,th3infinity/libavg