From da2ee638ef74a46859908c48a95daed96cd1a605 Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Fri, 5 Oct 2018 21:47:13 -0700 Subject: [PATCH] remove obsolete BT_PYBULLET_GRPC and PYBULLET_EGL --- examples/pybullet/pybullet.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/examples/pybullet/pybullet.c b/examples/pybullet/pybullet.c index 86c870a6a..3e651ba42 100644 --- a/examples/pybullet/pybullet.c +++ b/examples/pybullet/pybullet.c @@ -9662,30 +9662,14 @@ PyMODINIT_FUNC #if PY_MAJOR_VERSION >= 3 PyInit_pybullet(void) #else -#ifdef BT_USE_EGL2 -initpybullet_egl(void) -#else -#ifdef BT_PYBULLET_GRPC -initpybullet_grpc(void) -#else initpybullet(void) -#endif //BT_USE_EGL2 -#endif //BT_PYBULLET_GRPC #endif { PyObject* m; #if PY_MAJOR_VERSION >= 3 m = PyModule_Create(&moduledef); -#else -#ifdef BT_USE_EGL2 - m = Py_InitModule3("pybullet_egl", SpamMethods, "Python bindings for Bullet"); -#else -#ifdef BT_PYBULLET_GRPC - m = Py_InitModule3("pybullet_grpc", SpamMethods, "Python bindings for Bullet"); #else m = Py_InitModule3("pybullet", SpamMethods, "Python bindings for Bullet"); -#endif //BT_USE_EGL2 -#endif //BT_PYBULLET_GRPC #endif #if PY_MAJOR_VERSION >= 3