forked from organicmaps/organicmaps
fixed calls to getOrthoMatrix
This commit is contained in:
parent
227c0b868f
commit
420bf9e611
2 changed files with 3 additions and 3 deletions
|
@ -66,8 +66,8 @@ namespace graphics
|
|||
getOrthoMatrix(coordM,
|
||||
0, m_width,
|
||||
m_height, 0,
|
||||
-graphics::maxDepth,
|
||||
graphics::maxDepth + 1);
|
||||
graphics::minDepth,
|
||||
graphics::maxDepth + 100);
|
||||
|
||||
|
||||
if (m_frameBuffer)
|
||||
|
|
|
@ -9,6 +9,6 @@ namespace graphics
|
|||
|
||||
void RenderTarget::coordMatrix(math::Matrix<float, 4, 4> & m)
|
||||
{
|
||||
getOrthoMatrix(m, 0, width(), 0, height(), -maxDepth, maxDepth + 1);
|
||||
getOrthoMatrix(m, 0, width(), 0, height(), minDepth, maxDepth + 100);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue