GRAPHICS: Move draw buffer clear logic into gl state.