BGE: Fixing an assert with the canvas' GetViewPort(). bf_gpu was changing the viewpor...
authorMitchell Stokes <mogurijin@gmail.com>
Tue, 25 Dec 2012 06:20:50 +0000 (06:20 +0000)
committerMitchell Stokes <mogurijin@gmail.com>
Tue, 25 Dec 2012 06:20:50 +0000 (06:20 +0000)
commit62b6303735a1bbdb0f978ecf6afc1829d13ebe7b
treea69e00d21893bb7c64ef0fcf124c94247b3dbace
parentf339c63584526a56e5053dc288ccf557a722a202
BGE: Fixing an assert with the canvas' GetViewPort(). bf_gpu was changing the viewport when handling shadow buffers. KX_LightObject::BindShadowBuffer() now updates the canvas with the new viewport information from bf_gpu.
source/gameengine/BlenderRoutines/KX_BlenderCanvas.cpp
source/gameengine/BlenderRoutines/KX_BlenderCanvas.h
source/gameengine/GamePlayer/common/GPC_Canvas.cpp
source/gameengine/GamePlayer/common/GPC_Canvas.h
source/gameengine/Ketsji/KX_KetsjiEngine.cpp
source/gameengine/Ketsji/KX_Light.cpp
source/gameengine/Ketsji/KX_Light.h
source/gameengine/Rasterizer/RAS_ICanvas.h