Update eglRenderTest.py

This commit is contained in:
NiranthS
2020-04-23 23:05:14 +05:30
committed by GitHub
parent 0fba23d602
commit 83f506ebef
+3 -2
View File
@@ -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)