I have several patches which render a GL context to a jit.window with great results. I wanted to change the output of one of my patchers to a jit.matrix (mainly so I can jit.qt.record it). I am running into problems, error messages thrown like the following:
jit.gl.texture: setting texture wrap mode t: GL Error: Invalid enumeration
jit.gl.readback: unable to create framebuffer: pbuffers not supported!!
jit.gl.shader: graphics hardware is not capable of running CG vertex programs.
jit.gl.shader: graphics hardware is not capable of running CG fragment programs.
jit.gl.shader: CG not supported for current hardware config.
jit.gl.shader: unable to load program!
jit.gl.shader: unable to find usable language implementation.
jit.gl.shader: error loading shader!
jit.gl: invalid extension called
I know that the messages about graphics hardware are not accurate because the exact same patch on the exact same hardware rendering to a jit.window (or jit.pwindow) instead of a jit.matrix works flawlessly.
I have boiled this down to a much simpler patch to demonstrate what I'm seeing. Any help would be appreciated.
I also found that you can crash Max if you delete the jit.window object while rendering.