【问题标题】:Mac OS Pygame using a deprecated function CGSFlushWindowMac OS Pygame 使用已弃用的函数 CGSFlushWindow
【发布时间】: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 修复?

【问题讨论】:

标签: python pygame


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 2014-12-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-08-29
    • 1970-01-01
    • 2020-04-20
    • 1970-01-01
    相关资源
    最近更新 更多