forked from bartvdbraak/blender
a8bca52d09
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. |
||
---|---|---|
.. | ||
unix | ||
windows | ||
bmfont.cpp | ||
CMakeLists.txt | ||
GPC_Canvas.cpp | ||
GPC_Canvas.h | ||
GPC_Engine.cpp | ||
GPC_Engine.h | ||
GPC_KeyboardDevice.cpp | ||
GPC_KeyboardDevice.h | ||
GPC_MouseDevice.cpp | ||
GPC_MouseDevice.h | ||
GPC_RawImage.cpp | ||
GPC_RawImage.h | ||
GPC_RawLoadDotBlendArray.cpp | ||
GPC_RawLoadDotBlendArray.h | ||
GPC_RawLogoArrays.cpp | ||
GPC_RawLogoArrays.h | ||
GPC_RenderTools.cpp | ||
GPC_RenderTools.h | ||
GPC_System.cpp | ||
GPC_System.h | ||
load.blend | ||
logo_blender3d.raw | ||
logo_blender.raw | ||
logo_nan.raw | ||
Makefile | ||
SConscript |