Change to AttachFramebufferValid() for suboffset textures
Merge pull request #3311 from raven02/patch-9

Change to AttachFramebufferValid() for suboffset textures