Re: [Pyobjc-dev] How to use NSOpenGLContext.setValues_forParameter_ with PyObjC <= 2.2?
Brought to you by:
ronaldoussoren
From: Phillip N. <evi...@gm...> - 2011-02-07 00:58:46
|
> Seeing as it's really a pointer to an array, have you tried > something obvious such as a list of ints? Trying self._nscontext.setValues_forParameter_([ 1 ], NSOpenGLCPSwapInterval) just gives me ValueError: depythonifying 'pointer', got 'list' instead. Is there another way for me to pass in an array of ints? --phillip |