]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - world.c
Don't bother setting anisotropy on textures twice during startup.
[xonotic/darkplaces.git] / world.c
diff --git a/world.c b/world.c
index 4fe5fcf5db9595b59fea887651eb9e1a795a4e77..60bd0937728f7a5e6275c8281bdcd4adca5cf17d 100644 (file)
--- a/world.c
+++ b/world.c
@@ -3012,8 +3012,8 @@ static void nearCallback (void *data, dGeomID o1, dGeomID o2)
 
 void World_Physics_Frame(world_t *world, double frametime, double gravity)
 {
-       prvm_prog_t *prog = world->prog;
 #ifdef USEODE
+       prvm_prog_t *prog = world->prog;
        double tdelta, tdelta2, tdelta3, simulationtime, collisiontime;
 
        tdelta = Sys_DirtyTime();