Fix for [#31978] "Horizon colour drawn on two edges of screen when a 2D filter is...
authorMitchell Stokes <mogurijin@gmail.com>
Thu, 5 Jul 2012 21:03:29 +0000 (21:03 +0000)
committerMitchell Stokes <mogurijin@gmail.com>
Thu, 5 Jul 2012 21:03:29 +0000 (21:03 +0000)
commitb41561a406e0ca1cb5fd63159209243227f3269a
tree326d38c75eaabd23418355df25f8a29a148e511f
parent3e073f42a58c5de8411b99255a23b8f21c7064c7
Fix for [#31978] "Horizon colour drawn on two edges of screen when a 2D filter is active" reported by Alex Fraser.

The glViewport used for 2D Filters wasn't quite matching the 3d view. It seems the height and width were both off by one. There may be a deeper bug with the canvas rectangle having slightly wrong dimensions, but this at least fixes the 2D Filters.
source/gameengine/Rasterizer/RAS_2DFilterManager.cpp