【发布时间】:2013-01-01 08:42:41
【问题描述】:
我在 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 修复?
【问题讨论】:
-
你用的是什么版本的pygame?
pygame.version.ver。我正在使用 1.9.2pre,我不再收到该错误。 -
@jgritty 我使用的是 1.9.1。