gpt4 book ai didi

python - Mac OS Pygame 使用已弃用的函数 CGSFlushWindow

转载 作者:太空狗 更新时间:2023-10-30 01:02:42 24 4
gpt4 key购买 nike

我在 OS Mountain Lion 下以 32 位模式运行 Python 2.7.3,我刚刚开始使用 Pygame。我不断在终端窗口中收到以下错误消息:

2012-12-31 10:58:03.695 Python[12097:f07] Warning once: This application, or a library it
uses, is using NSQuickDrawView, which has been deprecated. Apps should cease use of
QuickDraw and move to Quartz.

Dec 31 10:58:03 bigden.local Python[12097] <Error>: The function `CGSFlushWindow' is
obsolete and will be removed in an upcoming update. Unfortunately, this application, or a
library it uses, is using this obsolete function, and is thereby contributing to an
overall degradation of system performance. Please use `CGSFlushWindowContentRegion'
instead.

有什么办法可以避免这种情况?有 Pygame 修复程序吗?

最佳答案

尝试安装版本 1.9.2pre .我不再收到这些错误。

关于python - Mac OS Pygame 使用已弃用的函数 CGSFlushWindow,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14103699/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com