Fix proxy target checks, make sure real function is called
Fix proxy target checks, make sure real function is called

* If the target is a proxy target or the internal format is invalid, make
  sure we still call the real GL function, but don't do anything ourselves.

moradin/renderdoc,etnlGD/renderdoc,googlestadia/renderdoc,Anteru/renderdoc,Yours3lf/renderdoc,Lssikkes/renderdoc,cgmb/renderdoc,etnlGD/renderdoc,googlestadia/renderdoc,Yours3lf/renderdoc,cgmb/renderdoc,adrianbu/renderdoc,victor-moya/renderdoc,adrianbu/renderdoc,Lssikkes/renderdoc,TurtleRockStudios/renderdoc_public,michaelrgb/renderdoc,Yours3lf/renderdoc,moradin/renderdoc,Zorro666/renderdoc,googlestadia/renderdoc,Zorro666/renderdoc,baldurk/renderdoc,Velro/renderdoc,Velro/renderdoc,etnlGD/renderdoc,etnlGD/renderdoc,victor-moya/renderdoc,moradin/renderdoc,Zorro666/renderdoc,Lssikkes/renderdoc,Anteru/renderdoc,michaelrgb/renderdoc,moradin/renderdoc,Zorro666/renderdoc,Velro/renderdoc,etnlGD/renderdoc,cgmb/renderdoc,Lssikkes/renderdoc,baldurk/renderdoc,victor-moya/renderdoc,Velro/renderdoc,michaelrgb/renderdoc,Anteru/renderdoc,baldurk/renderdoc,baldurk/renderdoc,Yours3lf/renderdoc,googlestadia/renderdoc,TurtleRockStudios/renderdoc_public,Velro/renderdoc,Yours3lf/renderdoc,TurtleRockStudios/renderdoc_public,moradin/renderdoc,Zorro666/renderdoc,Anteru/renderdoc,googlestadia/renderdoc,adrianbu/renderdoc,victor-moya/renderdoc,victor-moya/renderdoc,Lssikkes/renderdoc,Anteru/renderdoc,cgmb/renderdoc,moradin/renderdoc,Lssikkes/renderdoc,Velro/renderdoc,TurtleRockStudios/renderdoc_public,TurtleRockStudios/renderdoc_public,michaelrgb/renderdoc,adrianbu/renderdoc,baldurk/renderdoc,victor-moya/renderdoc,Anteru/renderdoc,TurtleRockStudios/renderdoc_public,Zorro666/renderdoc,Yours3lf/renderdoc,cgmb/renderdoc,Anteru/renderdoc,etnlGD/renderdoc,michaelrgb/renderdoc,adrianbu/renderdoc,adrianbu/renderdoc,googlestadia/renderdoc,baldurk/renderdoc