Blender Git Loki
Git Commits -> Revision 9bf3c96
Revision 9bf3c96 by Benoit Bolsee (ge_2df_textures) April 3, 2017, 06:46 (GMT) |
BGE: Fix 1-pixel bug with viewport and aspect ratio. The canvas viewport is initially set as (0,0,width,height) but treated at OGL level as (left,bottom,right,top), which differs by 1 pixel. This was causing a wrong aspect ratio in the render. |
Commit Details:
Full Hash: 9bf3c963761c6d970a9c222da3091082c9b6f0f5
Parent Commit: 9847537
Lines Changed: +12, -12
5 Modified Paths:
/source/gameengine/BlenderRoutines/KX_BlenderCanvas.cpp (+2, -2) (Diff)
/source/gameengine/GamePlayer/common/GPC_Canvas.cpp (+4, -4) (Diff)
/source/gameengine/Ketsji/KX_Dome.cpp (+1, -1) (Diff)
/source/gameengine/Rasterizer/RAS_2DFilterManager.cpp (+4, -4) (Diff)
/source/gameengine/VideoTexture/ImageRender.cpp (+1, -1) (Diff)
/source/gameengine/GamePlayer/common/GPC_Canvas.cpp (+4, -4) (Diff)
/source/gameengine/Ketsji/KX_Dome.cpp (+1, -1) (Diff)
/source/gameengine/Rasterizer/RAS_2DFilterManager.cpp (+4, -4) (Diff)
/source/gameengine/VideoTexture/ImageRender.cpp (+1, -1) (Diff)