OpenGL error (1282) is really annoying

Started by kuso4ek, 01 June 2022, 19:24:54


The ugly text rendering will need to be investigated further. It looks like bad anti-aliasing.
Edit: maybe the framebuffer needs a multisample attachment, such as described in the "Off-screen MSAA" section on

Try disabling GL_CULL_FACE before rendering TGUI, having that enabled also seems to remove the text. I see your code enabling it right after the shadow manager, so maybe that is the problem instead of the shadow manager itself (which I haven't tested here yet).


Wow, disabling GL_CULL_FACE actually helped. I also drawing it without a framebuffer, so text is pretty and anti-aliased. Thanks!