imgui-node-editor
imgui-node-editor copied to clipboard
Empty window when running examples.
I'm using Xcode on an M1 Mac. This is the error that I am getting in the console.
2023-01-20 15:30:00.843846-0500 simple-example[14913:3759047] Metal API Validation Enabled ERROR: ImGui_ImplOpenGL3_CreateDeviceObjects: failed to compile fragment shader! ERROR: 0:8: Invalid call of undeclared identifier 'texture2D' ERROR: 0:9: Use of undeclared identifier 'col' ERROR: 0:9: Use of undeclared identifier 'col' ERROR: 0:9: Use of undeclared identifier 'gl_FragColor' ERROR: 0:9: Use of undeclared identifier 'col'
ERROR: ImGui_ImplOpenGL3_CreateDeviceObjects: failed to link shader program! (with GLSL '#version 150 ') ERROR: One or more attached shaders not successfully compiled
Try changing renderer_ogl3.cpp line 99 from:
const char* glslVersion = "#version 150";
To:
const char* glslVersion = "#version 100";
It works nicely in my 2015 iMac, but have low FPS on Intel Mac Mini. I'm curious how it runs on your M1.