Mercurial > hg > orthanc-stone
diff OrthancStone/Sources/Scene2D/OpenGLCompositor.h @ 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 | 85e117739eca |
children | 4fb8fdf03314 |
line wrap: on
line diff
--- a/OrthancStone/Sources/Scene2D/OpenGLCompositor.h Wed Sep 23 17:25:25 2020 +0200 +++ b/OrthancStone/Sources/Scene2D/OpenGLCompositor.h Thu Sep 24 16:40:30 2020 +0200 @@ -72,7 +72,8 @@ Orthanc::Encoding codepage) ORTHANC_OVERRIDE; #endif - virtual void RefreshCanvasSize() ORTHANC_OVERRIDE; + virtual void SetCanvasSize(unsigned int canvasWidth, + unsigned int canvasHeight) ORTHANC_OVERRIDE; virtual unsigned int GetCanvasWidth() const ORTHANC_OVERRIDE {