Compile SERVER_ONLY (by #ifdef'ing out all graphics related code).

Does not link yet!!
This commit is contained in:
hiker
2016-11-11 23:46:22 +11:00
parent 8d9bb9c30f
commit ddcddf4a0a
49 changed files with 968 additions and 754 deletions
+4
View File
@@ -15,6 +15,8 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
#ifndef SERVER_ONLY
#include "graphics/post_processing.hpp"
#include "config/user_config.hpp"
@@ -1596,3 +1598,5 @@ FrameBuffer *PostProcessing::render(scene::ICameraSceneNode * const camnode,
return out_fbo;
} // render
#endif // !SERVER_ONLY