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

2024-06-09 21:22:44 发布

您现在位置:Python中文网/ 问答频道 /正文

我在OSMountainLion下以32位模式运行Python2.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修复程序来了吗?在


Tags: orandoftoanapplicationisuse