Angluca / tigr-nim

TIGR - the TIny GRaphics library for Windows, macOS, Linux, iOS and Android.
Other
31 stars 3 forks source link

Minimum OpenGL requirements #5

Open FedericoCeratto opened 1 year ago

FedericoCeratto commented 1 year ago

Hello, on PinePhone tigr crashes out with a rather opaque GLXBadFBConfig error. Could it be due to the OpenGL version?

glxinfo | grep -e "OpenGL version" -e "Core" -e "Compatible" returns OpenGL version string: 2.1 Mesa 22.3.6

Angluca commented 1 year ago

You can see tigr/tigr.c have several #include <xxx/gl3.h> (line: 5764???) try change to <xxx/gl.h> test ? And if you has nimble install opengl, in ~/.nimble/pkgs2/opengl***/private/prelude.nim you can see some gl.h, You can compare if there is a mistake

FedericoCeratto commented 1 year ago

I tried without success - however since I'm able to replicate the issue with examples/demo on https://github.com/erkkah/tigr I'll move the issue there.

Moved to https://github.com/erkkah/tigr/issues/50

Angluca commented 1 year ago

En ... These types of questions are better asked to the original author However, opengl-nim is also old , So maybe you should also be aware of any problems that may arise