Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/Scene2D/Internals/OpenGLColorTextureProgram.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 |
comparison
equal
deleted
inserted
replaced
1575:e4a52cbbdd70 | 1576:92fca2b3ba3d |
---|---|
36 public: | 36 public: |
37 explicit OpenGLColorTextureProgram(OpenGL::IOpenGLContext& context); | 37 explicit OpenGLColorTextureProgram(OpenGL::IOpenGLContext& context); |
38 | 38 |
39 void Apply(OpenGL::OpenGLTexture& texture, | 39 void Apply(OpenGL::OpenGLTexture& texture, |
40 const AffineTransform2D& transform, | 40 const AffineTransform2D& transform, |
41 unsigned int canvasWidth, | |
42 unsigned int canvasHeight, | |
41 bool useAlpha); | 43 bool useAlpha); |
42 }; | 44 }; |
43 } | 45 } |
44 } | 46 } |