Additional error check at the end of attachment iteration in queryFBO()
Additional error check at the end of attachment iteration in queryFBO()

scygan/debugler,scygan/debugler,scygan/debugler,scygan/debugler