php-glfw
php-glfw copied to clipboard
glfw at Raspberry Desktop version
Hello! Today i install X11 desktop for Raspberry and try run from it. pi@raspberrypi:~/php-glfw/examples $ php 01_triangle.php 3.3.8 X11 GLX EGL OSMesa clock_gettime evdev shared php: /home/pi/php-glfw/vendor/glfw/src/window.c:954: glfwSetWindowUserPointer: Assertion `window != NULL' failed. Aborted
My 01_triangle.php that i executed from CLI dont work from Desktop
with virtual buffer work normal pi@raspberrypi:~/php-glfw/examples $ xvfb-run --auto-servernum php 01_triangle.php 3.3.8 X11 GLX EGL OSMesa clock_gettime evdev shared string(43) "4.5 (Core Profile) Mesa 23.2.1-1~bpo12+rpt2"
at https://discourse.glfw.org/t/solved-cant-get-started/1152 author say: ... switching from glfw-wayland to glfw-x11 on arch linux solved the issue. I dont know how switch...