Fix some window messaging bugs for dx.
This commit is contained in:
parent
55ed0e9299
commit
39422838b7
13 changed files with 237 additions and 68 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue