提交 8de08433 编写于 作者: V vit9696

OpenCanopy: Do not try to draw cursor when pointer control is disabled

上级 b480c025
......@@ -883,7 +883,9 @@ GuiFlushScreen (
ASSERT (DrawContext != NULL);
ASSERT (DrawContext->Screen != NULL);
GuiRedrawPointer (DrawContext);
if (mPointerContext != NULL) {
GuiRedrawPointer (DrawContext);
}
NumValidDrawReqs = mNumValidDrawReqs;
ASSERT (NumValidDrawReqs <= ARRAY_SIZE (mDrawRequests));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册