added 'nativeRegion', renderTarget support sub textures
-> 'glGetBooleanv' instead of 'glGetIntegerv'