openclonk/src/graphics/C4DrawT.cpp

36 lines
923 B
C++
Raw Normal View History

2009-05-08 13:28:41 +00:00
/*
* OpenClonk, http://www.openclonk.org
*
* Copyright (c) 2001-2009, RedWolf Design GmbH, http://www.clonk.de/
* Copyright (c) 2011-2013, The OpenClonk Team and contributors
2009-05-08 13:28:41 +00:00
*
* Distributed under the terms of the ISC license; see accompanying file
* "COPYING" for details.
2009-05-08 13:28:41 +00:00
*
* "Clonk" is a registered trademark of Matthes Bender, used with permission.
* See accompanying file "TRADEMARK" for details.
2009-05-08 13:28:41 +00:00
*
* To redistribute this file separately, substitute the full license texts
* for the above references.
2009-05-08 13:28:41 +00:00
*/
2009-10-20 03:39:24 +00:00
#include "C4Include.h"
#include "graphics/C4DrawT.h"
#include "lib/StdMeshMaterial.h"
2009-05-08 13:28:41 +00:00
2014-03-31 14:30:40 +00:00
CStdNoGfx::CStdNoGfx()
{
Default();
}
2016-02-06 22:32:00 +00:00
bool CStdNoGfx::RestoreDeviceObjects()
2010-03-28 18:58:01 +00:00
{
Log("Graphics disabled.");
MaxTexSize = 2147483647;
2009-05-08 13:28:41 +00:00
return true;
2010-03-28 18:58:01 +00:00
}
bool CStdNoGfx::PrepareMaterial(StdMeshMatManager& mat_manager, StdMeshMaterialLoader& loader, StdMeshMaterial& mat)
{
mat.BestTechniqueIndex=0; return true;
}