Re: OpenGL win32 Python

2009-04-17 Thread Maxim Khitrov
On Fri, Apr 17, 2009 at 9:27 AM, gintare statkute wrote: > Hello, > > i foundĀ an example for OpenGL in windows. > It is incredibly helpful, but how to rewrite it to be useful in Python. > > How to give address of pfd in Python?: > iFormat = ChoosePixelFormat( hDC, &pfd ); > SetPixelFormat( hDC, iF

OpenGL win32 Python

2009-04-17 Thread gintare statkute
Hello, i found an example for OpenGL in windows. It is incredibly helpful, but how to rewrite it to be useful in Python. How to give address of pfd in Python?: iFormat = ChoosePixelFormat( hDC, &pfd ); SetPixelFormat( hDC, iFormat, &pfd ); I found syntax for sizeof and pfd: #! /usr/include/py