added resetgl command to restart renderer in-game

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1642 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-02-12 03:30:52 +00:00
parent 968bbcca96
commit 072cc6d525
9 changed files with 229 additions and 73 deletions
+5
View File
@@ -204,6 +204,11 @@ void particleinit()
parttex[5] = textureload("packages/misc/scorch.png");
}
void cleanupparticles()
{
loopi(2) if(expmodtex[i]) { glDeleteTextures(1, &expmodtex[i]); expmodtex[i] = 0; }
}
void particlereset()
{
loopi(MAXPARTYPES)