Mercurial > hg > orthanc-stone
diff OrthancStone/Sources/OpenGL/IOpenGLContext.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 | 244ad1e4e76a |
children | 4fb8fdf03314 |
line wrap: on
line diff
--- a/OrthancStone/Sources/OpenGL/IOpenGLContext.h Wed Sep 23 17:25:25 2020 +0200 +++ b/OrthancStone/Sources/OpenGL/IOpenGLContext.h Thu Sep 24 16:40:30 2020 +0200 @@ -39,15 +39,6 @@ virtual void MakeCurrent() = 0; virtual void SwapBuffer() = 0; - - virtual unsigned int GetCanvasWidth() const = 0; - - virtual unsigned int GetCanvasHeight() const = 0; - - // Getting the size of the canvas can be expensive, especially - // in WebAssembly => avoid calling this method too often - // (e.g. on each refresh) - virtual void RefreshCanvasSize() = 0; }; } }