use new stb_image_write *_to_func instead of custom _to_file functions
use new stb_image_write *_to_func instead of custom _to_file functions

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