diff --git a/examples/ThirdPartyLibs/glad/glx_dyn.c b/examples/ThirdPartyLibs/glad/glx.c similarity index 100% rename from examples/ThirdPartyLibs/glad/glx_dyn.c rename to examples/ThirdPartyLibs/glad/glx.c diff --git a/setup.py b/setup.py index dca060865..3baaa0348 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ CXX_FLAGS += '-DBT_USE_DOUBLE_PRECISION ' CXX_FLAGS += '-DBT_ENABLE_ENET ' CXX_FLAGS += '-DBT_ENABLE_CLSOCKET ' CXX_FLAGS += '-DB3_DUMP_PYTHON_VERSION ' -CXX_FLAGS += '-DBT_USE_EGL ' # uncomment for EGL (old EGL versions fail) +#CXX_FLAGS += '-DBT_USE_EGL ' # uncomment for EGL (old EGL versions fail) # libraries += [current_python] @@ -397,7 +397,7 @@ if _platform == "linux" or _platform == "linux2": sources = sources + ["examples/ThirdPartyLibs/enet/unix.c"]\ +["examples/OpenGLWindow/X11OpenGLWindow.cpp"]\ +["examples/ThirdPartyLibs/glad/gl.c"]\ - +["examples/ThirdPartyLibs/glad/glx_dyn.c"] + +["examples/ThirdPartyLibs/glad/glx.c"] include_dirs += ["examples/ThirdPartyLibs/optionalX11"] if 'BT_USE_EGL' in CXX_FLAGS: # linking with bullet's Glew libraries causes segfault