Background
I could not get the emulator to work on my T530 Thinkpad. It just stopped with
jac@jac-ThinkPad-W530-2:~/jac/system/X65/Tools/EMU/emu/bin$ ./emu_linux_x64
[sapp][panic][id:36][line:11163]
ABORTING because of [panic]
Aborted (core dumped)
So I went and tried to debug it. My own compiled version resulted in:
sapp][panic][id:36] /home/jac/jac/system/Linux/Programming/Repositories/emu/ext/sokol/sokol_app.h:11163:0:
LINUX_GLX_CREATE_CONTEXT_FAILED: Failed to create GL context via glXCreateContextAttribsARB
ABORTING because of [panic]
Aborted (core dumped)
I could make it work by changing the code in "sokol_main", to use GL 3.0. And it worked all fine.
Here's my request:
- Can you add more explicit error handling/messages for such an error?
- If there is a minimum version requirement, the code should use the minimum version and not a later one, so it remains compatible with older machines.
Background
I could not get the emulator to work on my T530 Thinkpad. It just stopped with
jac@jac-ThinkPad-W530-2:~/jac/system/X65/Tools/EMU/emu/bin$ ./emu_linux_x64
[sapp][panic][id:36][line:11163]
ABORTING because of [panic]
Aborted (core dumped)
So I went and tried to debug it. My own compiled version resulted in:
sapp][panic][id:36] /home/jac/jac/system/Linux/Programming/Repositories/emu/ext/sokol/sokol_app.h:11163:0:
LINUX_GLX_CREATE_CONTEXT_FAILED: Failed to create GL context via glXCreateContextAttribsARB
ABORTING because of [panic]
Aborted (core dumped)
I could make it work by changing the code in "sokol_main", to use GL 3.0. And it worked all fine.
Here's my request: