Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/Scene2D/Internals/OpenGLInfoPanelRenderer.cpp @ 1576:92fca2b3ba3d
sanitizing the handling of canvas size
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 24 Sep 2020 16:40:30 +0200 |
parents | 244ad1e4e76a |
children | 4fb8fdf03314 |
comparison
equal
deleted
inserted
replaced
1575:e4a52cbbdd70 | 1576:92fca2b3ba3d |
---|---|
108 translation2, | 108 translation2, |
109 rotation, | 109 rotation, |
110 translation1); | 110 translation1); |
111 } | 111 } |
112 | 112 |
113 program_.Apply(*texture_, actualTransform, true); | 113 program_.Apply(*texture_, actualTransform, canvasWidth, canvasHeight, true); |
114 } | 114 } |
115 } | 115 } |
116 } | 116 } |
117 } | 117 } |