shader

glGetError not catching errors

glGetError not catching errors Question: I am trying to render images with OpenGL using a compute shader. I create a compute shader and program for it, then a vertex shader and fragment shader, as well as a program for them. I then create a texture and two triangles and render the texture on the triangles. …

Total answers: 1

Can't compile shader without glfw context

Can't compile shader without glfw context Question: I am trying to compile OpenGL shaders using the Python bindings. I can not compile them without creating a glfw context, it is quite strange. If you uncomment the glfw lines, the shaders will get compiled. print(bool(glCreateShader)) outputs False. Error: Traceback (most recent call last): File “C:Program FilesPython38libsite-packagesOpenGLlatebind.py”, …

Total answers: 1