From 83f506ebeffa450187140e4cb94353b1b3eb0ab5 Mon Sep 17 00:00:00 2001 From: NiranthS <44475481+NiranthS@users.noreply.github.com> Date: Thu, 23 Apr 2020 23:05:14 +0530 Subject: [PATCH] Update eglRenderTest.py --- examples/pybullet/examples/eglRenderTest.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/pybullet/examples/eglRenderTest.py b/examples/pybullet/examples/eglRenderTest.py index 13dbf2091..9270cdbbb 100644 --- a/examples/pybullet/examples/eglRenderTest.py +++ b/examples/pybullet/examples/eglRenderTest.py @@ -2,9 +2,10 @@ import pybullet as p import time import pkgutil egl = pkgutil.get_loader('eglRenderer') +import pybullet_data -p.connect(p.DIRECT) - +p.connect(p.GUI) +p.setAdditionalSearchPath(pybullet_data.getDataPath()) plugin = p.loadPlugin(egl.get_filename(), "_eglRendererPlugin") print("plugin=", plugin)