If we'll try to create a shadow map with a huge size and low video memory, we'll get the error:
WARNING: Framebuffer object incomplete: 0x8CD6 ERROR: CRenderer::EndFrame: GL errors GL_OUT_OF_MEMORY (0505) occurred
Currently the shadow map only sets the bool for the renderer, but it's not enough. Because we need to reset the shadow map texture and change options too.
There is a problem, options don't update correctly.