blender/source/gameengine/GamePlayer
Dalai Felinto a8bca52d09 BGE fix #20456 - 2.5: mouse position problem (offseted by 1 vertically)
In Blender 2.49 the win width and height were been calculated including an extra pixel (e.g. a fullscreen editor would be (width + 1) by (height + 1) )
In opposite to that, Blender 2.5 window/editor code were fixed to have the exact width,height size.
So although the BGE canvas code was still the same as 2.49 it was producing a wrong result.

I'm also adding some commentaries in the setViewport code. BGE is setting the viewports 1 pixel larger.
the setViewport command is been used as if one should pass (minx, miny, width, height), while it should be (minx, miny, maxx, maxy). I will take care of that later, if any one has extra comments on that, please let me know.
2010-04-11 01:53:21 +00:00
..
common BGE fix #20456 - 2.5: mouse position problem (offseted by 1 vertically) 2010-04-11 01:53:21 +00:00
ghost rename some functions to use easier to understand names. 2010-03-09 17:36:23 +00:00
CMakeLists.txt correct fsf address 2010-02-12 13:34:04 +00:00
Makefile Fixing up the webplugin defines for the Makefiles. 2008-05-08 18:38:21 +00:00
SConscript * tweak linking priorities - should help for GCC users 2008-01-08 09:47:44 +00:00