Manuel Alfayate Corchete

Results 532 comments of Manuel Alfayate Corchete

@EXL Whoa, that was fast! I understand the issue now... Thanks! Time to try this on the Pi! :D

@EXL Ooops, I think there was a typo on your fix, look: ``` [ 1%] Building C object CMakeFiles/Gish.dir/Gish/audio/audio.c.o cc: fatal error: no input files compilation terminated. /bin/sh: 1: -fcommon:...

@EXL Ah, I see, it works if I simply run cmake. But if I pass CFLAGS like this, it fails: `cmake -DCMAKE_C_FLAGS="-march=native -mtune=native" ..` This is the relevant part in...

@EXL Now it works with the added CFLAGS! And yes, it works on the Pi4, too, both in OpenGL and GLES renderers. OpenGL needs MESA built with GLVND support, since...

I am also trying to make this run without X11 (no GLX, no X11) using KMS/DRM on GNU/Linux. SDL2 has support for KMS/DRM, but you seem to be manually creating...

@EXL There's a LOT of Windows-centric code there, and missing Linux stuff. For example, for non-GLX OpenGL to work on Linux, you must retrieve the function address for `glMultiTexCoord2fARB` and...

@EXL I have fixed non-GLX OpenGL, but as I said I had to store the `glActiveTextureARB` function pointer in a pointer called `glActiveTextureARBEXT`, because if I use I declare `PFNGLACTIVETEXTUREARBPROC...

@EXL Since SDL2 now manages context, the x11-specific code is redundant. Can I have the pleasure to remove that "supposedly dead" code? It means removing anything inside a PC_GLES ifdef

@EXL Ah! While we are at it, do you remember if there's some way to control the game aspect ratio? Running it on a modern 16:9 screen totally ruins it...

@ell1e That's because you need to modify certain dev nodes permissions (nodes creates by udev) so normal users can access these. So create something like `/etc/udev/rules.d/99-evdev.rules` with this content: `KERNEL=="event*",...