2012-12-31 13 views
5

Sto eseguendo Python 2.7.3 in modalità 32 bit sottoOS Mountain Lion e ho appena iniziato a utilizzare Pygame. Continuo a ricevere il seguente messaggio di errore nella finestra del terminale:Mac OS Pygame che utilizza una funzione deprecata CGSFlushWindow

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. 

Un modo per evitarlo? C'è una correzione per Pygame in arrivo?

+0

Non ci conterei. – jgritty

+0

Quale versione di pygame stai usando? 'Pygame.version.ver'. Sto usando 1.9.2pre e non ho più quell'errore. – jgritty

+0

@jgritty Sto usando 1.9.1. –

risposta

6

Provare a installare la versione 1.9.2pre. Non ho più quegli errori.

+0

Grazie. Questo ha funzionato. –

Problemi correlati