From: Jonathan Neuschäfer Date: Wed, 8 Feb 2012 10:49:21 +0000 (+0100) Subject: mesh: warn only once about render-to-target not being supported X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=3a89c40e260ed98d2e63cb2e4850409ea0c8a9fe;p=zefram%2Fminetest%2Fminetest_engine.git mesh: warn only once about render-to-target not being supported --- diff --git a/src/mesh.cpp b/src/mesh.cpp index 5afb4af5..d0d8b0a6 100644 --- a/src/mesh.cpp +++ b/src/mesh.cpp @@ -422,8 +422,13 @@ video::ITexture *generateTextureFromMesh(scene::IMesh *mesh, video::IVideoDriver *driver = device->getVideoDriver(); if(driver->queryFeature(video::EVDF_RENDER_TO_TARGET) == false) { - errorstream<<"generateTextureFromMesh(): EVDF_RENDER_TO_TARGET" - " not supported."<