Fix for [#32129] "2D filter texture width off by one?" reported by Alex Fraser (z0r).
authorMitchell Stokes <mogurijin@gmail.com>
Wed, 18 Jul 2012 05:51:44 +0000 (05:51 +0000)
committerMitchell Stokes <mogurijin@gmail.com>
Wed, 18 Jul 2012 05:51:44 +0000 (05:51 +0000)
commit52d2bae2bfb40831590a1b2ff2050fc6f8414481
treedf0d0c81695cc146e2ba1c0bdeb95d0019fe82d6
parent7baa8d520318479037e2032df6de83b4ed3015a7
Fix for [#32129] "2D filter texture width off by one?" reported by Alex Fraser (z0r).

The GetWidth() and GetHeight() functions of the canvas' display area seem to give values that are both off by one for what OpenGL wants. Adding 1 to both values seems to fix the problem.
source/gameengine/Rasterizer/RAS_2DFilterManager.cpp