texture refactoring
bug fix : PVR loading
modify PBGLErrorCheckEnd macro