E.g. we try to create render target that isn’t supported by device. Is there any way to catch this error (to set different render mode?)
pcall is not working, I still got
Assertion failed: (params.m_Width <= g_Context->m_MaxTextureSize), function SetTexture, file …/src/opengl/graphics_opengl.cpp, line 1879