commit 6f33a85ce2830e865906692f786c3cd97c42fb46
parent e5a6dacd1ee9ae3d7774a154546a5f48dbfd3acd
Author: Brian Swetland <swetland@frotz.net>
Date: Fri, 6 Sep 2013 20:33:04 -0700
model: load textures w/ mipmaps
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/Model.cc b/common/Model.cc
@@ -49,7 +49,7 @@ int Model::init(const char *name) {
printx("Object '%s' loaded. %d vertices, %d indices.\n",
name, m->vcount, m->icount);
- texture.load(tname.c_str(), 0);
+ texture.load(tname.c_str(), OPT_TEX2D_GEN_MIPMAP);
vbuf.load(m->vdata, 32 * m->vcount);
ibuf.load(m->idx, 2 * m->icount);