You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a program with a shader that fails to compile, but when I try to catch the CompileError, it is uncatchable. I just get terminate called after throwing an instance of 'oglplus::ObjectError' what(): OpenGL numeric argument out of range.
I found out that it's because program.Build builds the shaders with shader.Compile(std::nothrow). If I compile the shaders myself, I think it should work
I have a program with a shader that fails to compile, but when I try to catch the CompileError, it is uncatchable. I just get
terminate called after throwing an instance of 'oglplus::ObjectError' what(): OpenGL numeric argument out of range
.With this code, 'Test1' is printed and then the terminate message and the program terminates.
If I uncomment the 'throw' then I get
Test1
Test4
Test5
The text was updated successfully, but these errors were encountered: