Fix #34863: bge.render.makeScreenshot from Blender was only saving PNG files,
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 4 Apr 2013 14:00:31 +0000 (14:00 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 4 Apr 2013 14:00:31 +0000 (14:00 +0000)
commitd579ea2901084f20407b1834a2d36445aba687b4
treecee582dea06163d2fcaf0db75255cf3f6dcdcd40
parent3c5c4fb4f6725e7fcb480d619905446c28fa6e69
Fix #34863: bge.render.makeScreenshot from Blender was only saving PNG files,
while the docs said it followed the settings in the Output panel, other file
formats work now.

Benderplayer still only saves PNG now as documented, but I cleaned up the code
there to reuse existing imbuf functions rather than using own libpng code.
doc/python_api/rst/bge.render.rst
source/gameengine/BlenderRoutines/KX_BlenderCanvas.cpp
source/gameengine/BlenderRoutines/KX_BlenderGL.cpp
source/gameengine/BlenderRoutines/KX_BlenderGL.h
source/gameengine/GamePlayer/common/GPC_Canvas.cpp