Fix the order of destruction. The draw target must be released before the
gl context, as gl resources are present.
Merge pull request #90 from glennw/fix-drop

Fix the order of destruction. The draw target must be released before the gl context, as gl resources are present.