3 Years Ago
If we surpass MAX_ACTUAL_RENDERTARGETS don't try to allocate more, fixes buffer overflow crashes (cherry picked from commit 124a7d351686733fe63d829c49ee65f18aec8359) Double MAX_ACTUAL_RENDERTARGETS to 256, with people making their own tools 128 would easily get hit (cherry picked from commit 08628fb0f855688c84909b976a2d3b3c3cd678da)