OpenCanopy: Do not try to draw cursor when pointer control is disabled
@@ -883,7 +883,9 @@ GuiFlushScreen (
ASSERT (DrawContext != NULL);
ASSERT (DrawContext->Screen != NULL);
+ if (mPointerContext != NULL) {
GuiRedrawPointer (DrawContext);
+ }
NumValidDrawReqs = mNumValidDrawReqs;
ASSERT (NumValidDrawReqs <= ARRAY_SIZE (mDrawRequests));
