X-Git-Url: https://eleni.mutantstargoat.com/git/?p=demo;a=blobdiff_plain;f=src%2Fscene.cc;h=11281c37154edddba91fd9c8c74fcc6ed4de1fc3;hp=d033a8f70a820e229b1e4baddf16210daf728c13;hb=15cb9e608f3028a86ed878d726f1633bce9d6e04;hpb=77e44c5424bd5e6e7c6a706151fa786a56270e12 diff --git a/src/scene.cc b/src/scene.cc index d033a8f..11281c3 100644 --- a/src/scene.cc +++ b/src/scene.cc @@ -247,8 +247,6 @@ static Material *load_material(const aiScene *ascene, Scene *scene, unsigned int mat->dtex = scene->find_texture(tex_fname.c_str()); if(!mat->dtex) { - printf("!mat->dtex\n"); - mat->dtex = gfx_create_texture(); if(!mat->dtex->load(tex_fname.c_str())) { @@ -296,6 +294,5 @@ Texture *Scene::find_texture(const char *name) return textures[i]; } } - fprintf(stderr, "Texture %s not found.\n", name); return 0; } \ No newline at end of file