webgl: Don't update texture attachment state if we throw an error.
webgl: Don't update texture attachment state if we throw an error.

If we're going to return from this function without updating the
underlying GL state because of a WebGLError, we shouldn't have updated
our shadow of the GL state.

cbrewster/servo,dati91/servo,DominoTree/servo,CJ8664/servo,KiChjang/servo,CJ8664/servo,dsandeephegde/servo,thiagopnts/servo,avadacatavra/servo,mbrubeck/servo,ConnorGBrewster/servo,splav/servo,thiagopnts/servo,fiji-flo/servo,mattnenterprise/servo,nnethercote/servo,fiji-flo/servo,upsuper/servo,mbrubeck/servo,jimberlage/servo,notriddle/servo,pyfisch/servo,szeged/servo,ConnorGBrewster/servo,jimberlage/servo,peterjoel/servo,avadacatavra/servo,DominoTree/servo,szeged/servo,KiChjang/servo,KiChjang/servo,nnethercote/servo,sadmansk/servo,splav/servo,pyfisch/servo,splav/servo,fiji-flo/servo,sadmansk/servo,canaltinova/servo,SimonSapin/servo,peterjoel/servo,SimonSapin/servo,mattnenterprise/servo,saneyuki/servo,KiChjang/servo,rnestler/servo,szeged/servo,mattnenterprise/servo,KiChjang/servo,notriddle/servo,rnestler/servo,splav/servo,nnethercote/servo,ConnorGBrewster/servo,peterjoel/servo,nnethercote/servo,cbrewster/servo,DominoTree/servo,fiji-flo/servo,jimberlage/servo,peterjoel/servo,nnethercote/servo,SimonSapin/servo,avadacatavra/servo,emilio/servo,fiji-flo/servo,ConnorGBrewster/servo,notriddle/servo,anthgur/servo,avadacatavra/servo,canaltinova/servo,larsbergstrom/servo,pyfisch/servo,peterjoel/servo,sadmansk/servo,avadacatavra/servo,emilio/servo,cbrewster/servo,anthgur/servo,paulrouget/servo,anthgur/servo,cbrewster/servo,upsuper/servo,anthgur/servo,emilio/servo,avadacatavra/servo,peterjoel/servo,jimberlage/servo,upsuper/servo,emilio/servo,larsbergstrom/servo,larsbergstrom/servo,splav/servo,sadmansk/servo,mbrubeck/servo,peterjoel/servo,dsandeephegde/servo,pyfisch/servo,emilio/servo,larsbergstrom/servo,saneyuki/servo,CJ8664/servo,emilio/servo,KiChjang/servo,eddyb/servo,SimonSapin/servo,upsuper/servo,DominoTree/servo,anthgur/servo,DominoTree/servo,splav/servo,paulrouget/servo,dati91/servo,rnestler/servo,rnestler/servo,upsuper/servo,dsandeephegde/servo,saneyuki/servo,CJ8664/servo,mattnenterprise/servo,DominoTree/servo,thiagopnts/servo,ConnorGBrewster/servo,szeged/servo,larsbergstrom/servo,mattnenterprise/servo,notriddle/servo,saneyuki/servo,paulrouget/servo,SimonSapin/servo,szeged/servo,dati91/servo,thiagopnts/servo,notriddle/servo,mattnenterprise/servo,SimonSapin/servo,upsuper/servo,saneyuki/servo,paulrouget/servo,upsuper/servo,mbrubeck/servo,CJ8664/servo,thiagopnts/servo,pyfisch/servo,dati91/servo,rnestler/servo,dsandeephegde/servo,DominoTree/servo,thiagopnts/servo,szeged/servo,mbrubeck/servo,paulrouget/servo,mbrubeck/servo,thiagopnts/servo,eddyb/servo,szeged/servo,eddyb/servo,jimberlage/servo,cbrewster/servo,DominoTree/servo,DominoTree/servo,canaltinova/servo,mbrubeck/servo,anthgur/servo,peterjoel/servo,larsbergstrom/servo,emilio/servo,rnestler/servo,paulrouget/servo,jimberlage/servo,splav/servo,canaltinova/servo,jimberlage/servo,notriddle/servo,saneyuki/servo,DominoTree/servo,peterjoel/servo,fiji-flo/servo,pyfisch/servo,saneyuki/servo,paulrouget/servo,notriddle/servo,jimberlage/servo,cbrewster/servo,fiji-flo/servo,avadacatavra/servo,sadmansk/servo,larsbergstrom/servo,splav/servo,cbrewster/servo,jimberlage/servo,notriddle/servo,canaltinova/servo,nnethercote/servo,CJ8664/servo,nnethercote/servo,KiChjang/servo,splav/servo,canaltinova/servo,pyfisch/servo,saneyuki/servo,dati91/servo,thiagopnts/servo,rnestler/servo,SimonSapin/servo,pyfisch/servo,peterjoel/servo,pyfisch/servo,notriddle/servo,szeged/servo,dsandeephegde/servo,nnethercote/servo,emilio/servo,mattnenterprise/servo,ConnorGBrewster/servo,KiChjang/servo,paulrouget/servo,SimonSapin/servo,sadmansk/servo,emilio/servo,avadacatavra/servo,ConnorGBrewster/servo,larsbergstrom/servo,eddyb/servo,eddyb/servo,larsbergstrom/servo,sadmansk/servo,fiji-flo/servo,paulrouget/servo,dsandeephegde/servo,dsandeephegde/servo,ConnorGBrewster/servo,canaltinova/servo,szeged/servo,nnethercote/servo,eddyb/servo,anthgur/servo,eddyb/servo,saneyuki/servo,szeged/servo,splav/servo,dati91/servo,larsbergstrom/servo,mbrubeck/servo,CJ8664/servo,dsandeephegde/servo,nnethercote/servo,KiChjang/servo,CJ8664/servo,KiChjang/servo,anthgur/servo,upsuper/servo,dati91/servo,canaltinova/servo,eddyb/servo,cbrewster/servo,pyfisch/servo,saneyuki/servo,notriddle/servo,sadmansk/servo,paulrouget/servo,emilio/servo,mattnenterprise/servo,rnestler/servo,dati91/servo