[#7113] GE crash pressing as soon as P on 64 bit Note: glext.h has been removed from the source If you get errors compiling with it you have 2 options download/install glext.h (preferred method) or set WITH_BF_GLEXT=false If your a user and having problems with game engine try setting the env var: WITHOUT_GLEXT 1 Kent
13 lines
503 B
Python
13 lines
503 B
Python
#!/usr/bin/python
|
|
Import ('env')
|
|
|
|
if env['WITH_BF_GLEXT'] == 1:
|
|
env['CPPFLAGS'].append('-DWITH_GLEXT')
|
|
|
|
sources = env.Glob('*.cpp') #'RAS_GLExtensionManager.cpp RAS_ListRasterizer.cpp RAS_OpenGLRasterizer.cpp RAS_VAOpenGLRasterizer.cpp'
|
|
|
|
incs = '. #source/kernel/gen_system #intern/string #intern/moto/include #source/gameengine/Rasterizer'
|
|
incs += ' ' + env['BF_OPENGL_INC']
|
|
|
|
env.BlenderLib ( 'bf_oglrasterizer', Split(sources), Split(incs), [], libtype=['game','player'], priority=[40, 120] )
|