python: Obtain pipe_screen/pipe_context from the system's OpenGL driver.

This commit is contained in:
José Fonseca
2009-07-16 11:19:06 +01:00
parent 6b7b13b5eb
commit 3ab3209a1f
2 changed files with 191 additions and 3 deletions
@@ -15,6 +15,19 @@ if 'python' in env['statetrackers']:
env.Append(CPPPATH = '.')
if env['platform'] == 'windows':
env.Append(LIBS = [
'opengl32',
'gdi32',
'user32',
'kernel32',
])
else:
env.Append(LIBS = [
'GL',
'X11',
])
pyst = env.ConvenienceLibrary(
target = 'pyst',
source = [