diff --git a/examples/pybullet/examples/eglRenderTest.py b/examples/pybullet/examples/eglRenderTest.py index 9270cdbbb..916467c2d 100644 --- a/examples/pybullet/examples/eglRenderTest.py +++ b/examples/pybullet/examples/eglRenderTest.py @@ -4,7 +4,7 @@ import pkgutil egl = pkgutil.get_loader('eglRenderer') import pybullet_data -p.connect(p.GUI) +p.connect(p.DIRECT) p.setAdditionalSearchPath(pybullet_data.getDataPath()) plugin = p.loadPlugin(egl.get_filename(), "_eglRendererPlugin") print("plugin=", plugin)