X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=r_explosion.c;h=3519fd940044dd983f9fb935f377e3f30bb9c976;hb=961d03b211c568fab07a72b494aac3e9dbc6e842;hp=5dd1d01f662f7a7f04f5a4141339d4f5993582da;hpb=38185bc1aea210514d6970e3c36a25ad97615e5f;p=xonotic%2Fdarkplaces.git diff --git a/r_explosion.c b/r_explosion.c index 5dd1d01f..3519fd94 100644 --- a/r_explosion.c +++ b/r_explosion.c @@ -86,7 +86,7 @@ static void r_explosion_start(void) data[y][x][3] = bound(0, a, 255); } } - explosiontexture = R_LoadTexture2D(explosiontexturepool, "explosiontexture", 128, 128, &data[0][0][0], TEXTYPE_BGRA, TEXF_MIPMAP | TEXF_ALPHA | TEXF_FORCELINEAR, NULL); + explosiontexture = R_LoadTexture2D(explosiontexturepool, "explosiontexture", 128, 128, &data[0][0][0], TEXTYPE_BGRA, TEXF_MIPMAP | TEXF_ALPHA | TEXF_FORCELINEAR, -1, NULL); // if (r_loadfog) // { // for (y = 0;y < 128;y++) @@ -153,7 +153,7 @@ void R_Explosion_Init(void) #ifdef MAX_EXPLOSIONS Cvar_RegisterVariable(&r_drawexplosions); - R_RegisterModule("R_Explosions", r_explosion_start, r_explosion_shutdown, r_explosion_newmap); + R_RegisterModule("R_Explosions", r_explosion_start, r_explosion_shutdown, r_explosion_newmap, NULL, NULL); #endif }