Fix some window messaging bugs for dx.

This commit is contained in:
jmsgrogan 2023-01-08 12:41:09 +00:00
parent 55ed0e9299
commit 39422838b7
13 changed files with 237 additions and 68 deletions

View file

@ -15,7 +15,7 @@ std::unique_ptr<DrawingSurface> DrawingSurface::Create()
return std::make_unique<DrawingSurface>();
}
void DrawingSurface::setSize(unsigned width, unsigned height)
void DrawingSurface::setSize(unsigned width, unsigned height, bool triggerResize)
{
mWidth = width;
mHeight = height;

View file

@ -15,7 +15,7 @@ public:
static std::unique_ptr<DrawingSurface> Create();
virtual void setSize(unsigned width, unsigned height);
virtual void setSize(unsigned width, unsigned height, bool triggerResize = true);
unsigned getWidth() const;