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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user