pointer/hw: rollback the swapchain on multiple renders without a commit
fixes the hack
This commit is contained in:
parent
f17f8b219c
commit
4c3b035162
2 changed files with 21 additions and 6 deletions
|
|
@ -163,8 +163,9 @@ class CPointerManager {
|
|||
int softwareLocks = 0;
|
||||
bool hardwareFailed = false;
|
||||
CBox box; // logical
|
||||
bool entered = false;
|
||||
bool hwApplied = false;
|
||||
bool entered = false;
|
||||
bool hwApplied = false;
|
||||
bool cursorRendered = false;
|
||||
|
||||
SP<Aquamarine::IBuffer> cursorFrontBuffer;
|
||||
};
|
||||
|
|
@ -177,6 +178,7 @@ class CPointerManager {
|
|||
|
||||
struct {
|
||||
SP<HOOK_CALLBACK_FN> monitorAdded;
|
||||
SP<HOOK_CALLBACK_FN> monitorPreRender;
|
||||
} hooks;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue