Open sk-Prime opened 2 years ago
Almost all other example compile and run perfectly except examples/triangle.nim. which produce this error at runtime.
examples/triangle.nim
sk@sk-pc:~/myfolder/nim/windy/examples$ ./triangle 0:1(10): error: GLSL 4.10 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, and 3.10 ES 0:1(10): error: GLSL 4.10 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, and 3.10 ES error: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shader /home/sk/myfolder/nim/windy/examples/triangle.nim(104) triangle /home/sk/myfolder/nim/windy/examples/triangle.nim(96) display /home/sk/.nimble/pkgs/opengl-1.2.6/opengl/private/errors.nim(44) glUseProgram /home/sk/.nimble/pkgs/opengl-1.2.6/opengl/private/errors.nim(99) checkGLerror Error: unhandled exception: OpenGL error: invalid operation [GLerror]
Nim version: 1.6.6 [amd64] OS: Linux Mint 20.3 To test if there is anything wrong with OpenGL driver, I run some demo code with
See: https://github.com/treeform/boxy/issues/45
Almost all other example compile and run perfectly except
examples/triangle.nim
. which produce this error at runtime.Other Information
Nim version: 1.6.6 [amd64] OS: Linux Mint 20.3 To test if there is anything wrong with OpenGL driver, I run some demo code with