-
Notifications
You must be signed in to change notification settings - Fork 102
Open
Labels
faqA frequent issue, remaining opened to facilitate discoverabilityA frequent issue, remaining opened to facilitate discoverability
Description
Hello everyone, I'm trying to use Imgui_bundle with glfw in a raspberry pi 5 with Python that has OpenGL ES 3.1
So I used this code:
from imgui_bundle import hello_imgui, imgui, glfw_utils
import glfw
def gui():
imgui.text("Hello")
if imgui.button("maximize window"):
win = glfw_utils.glfw_window_hello_imgui() # get the main glfw window used by HelloImGui
glfw.maximize_window(win)
glfw.init() # needed by glfw_utils.glfw_window_hello_imgui
hello_imgui.run(gui)
But I had this error:
Glfw Error 65543: GLX: Failed to create context: GLXBadFBConfig
Traceback (most recent call last):
File "/home/maul7456/Documents/prueba.py", line 18, in <module>
hello_imgui.run(gui)
File "/home/maul7456/.local/lib/python3.11/site-packages/imgui_bundle/_patch_runners_add_save_screenshot_param.py", line 38, in patched_run
run_backup(*args, **kwargs)
RuntimeError: IM_ASSERT( false && "Failed to create temporary window." ) --- opengl_setup_glfw.cpp:26
Metadata
Metadata
Assignees
Labels
faqA frequent issue, remaining opened to facilitate discoverabilityA frequent issue, remaining opened to facilitate discoverability