mirror of
https://github.com/bulletphysics/bullet3
synced 2025-01-19 05:20:06 +00:00
Update eglRenderTest.py
This commit is contained in:
parent
0fba23d602
commit
83f506ebef
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user