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

Does not link yet!!
This commit is contained in:
hiker
2016-04-14 00:49:18 +10:00
parent 8d9bb9c30f
commit ddcddf4a0a
49 changed files with 968 additions and 754 deletions

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/shared_gpu_objects.hpp"
#include "graphics/central_settings.hpp"
@@ -213,3 +215,6 @@ void SharedGPUObjects::reset()
{
m_has_been_initialised = false;
} // reset
#endif // !SERVER_ONLY