set sbuffer id to 0 after unload

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2696 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-09-18 18:59:21 +00:00
parent 4cdf2ad352
commit 19d86ab448
+1
View File
@@ -906,6 +906,7 @@ struct sbuffer
if(!id) return;
alclearerr();
if(alIsBuffer(id)) alDeleteBuffers(1, &id);
id = 0;
alerr();
}
};