GPU: Fix assert when using gpu workaround and SSS + light renderpass

This path makes use of more framebuffers when using the gpu workarounds.
Increase the MAX FBO attachments per texture. Maybe we could use a growing
vector in the future.
This commit is contained in:
Clément Foucault 2020-10-07 14:05:36 +02:00
parent 76b15e338a
commit 4ea3f3b316
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ ENUM_OPERATORS(eGPUTextureType)
#endif
/* Maximum number of FBOs a texture can be attached to. */
#define GPU_TEX_MAX_FBO_ATTACHED 14
#define GPU_TEX_MAX_FBO_ATTACHED 16
/**
* Implementation of Textures.