Mac OS Pygame使用不推荐使用的函数CGSFlushWindow

时间:2012-12-31 16:07:13

标签: python pygame

我在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 个答案:

答案 0 :(得分:6)

尝试安装版本1.9.2pre。我不再理解这些错误了。