mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 18:07:31 +09:00
Update dimensions early in ClearTarget.
This commit is contained in:
parent
014062bb24
commit
d7d5258610
2 changed files with 13 additions and 6 deletions
|
|
@ -669,8 +669,11 @@ protected:
|
|||
|
||||
/**
|
||||
* Disposes an old target and prepares to lazily create a new target.
|
||||
*
|
||||
* Parameters are the new dimensions to be used, or if either is negative,
|
||||
* existing dimensions will be left unchanged.
|
||||
*/
|
||||
void ClearTarget();
|
||||
void ClearTarget(int32_t aWidth = -1, int32_t aHeight = -1);
|
||||
|
||||
/*
|
||||
* Returns the target to the buffer provider. i.e. this will queue a frame for
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue