Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mac OS Pygame using a deprecated function CGSFlushWindow

Tags:

python

pygame

I am running Python 2.7.3 in 32 bit mode underOS Mountain Lion and I have just started using Pygame. I keep getting the following error message in the terminal window:

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.

Any way to avoid this? Is there a Pygame fix coming?

like image 940
Returning to Coding Avatar asked Dec 31 '12 16:12

Returning to Coding


1 Answers

Try installing version 1.9.2pre. I don't get those errors any more.

like image 139
jgritty Avatar answered Dec 01 '22 01:12

jgritty