Update eglRenderTest.py

This commit is contained in:
NiranthS 2020-04-24 00:07:44 +05:30 committed by GitHub
parent ae905d7bbb
commit 4434a091c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)