check if a model's textures have deforms that need normals/tangents at load-time...
authoreihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 1 Feb 2010 10:15:46 +0000 (10:15 +0000)
committereihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 1 Feb 2010 10:15:46 +0000 (10:15 +0000)
commit93783908b793eb2f1df1e705cc7d29489cf409b3
tree92a5ffabf807d4371eed3e9748277203b3b831d9
parent470bb2156df26e4ebe06687a2afb76344cbd4adf
check if a model's textures have deforms that need normals/tangents at load-time, and pass in appropriate flags to RSurf_ActiveModelEntity based on this when rendering models with depthonly (fixes Nexuiz flag z-fighting)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9918 d7cf8633-e32d-0410-b094-e92efae38249
gl_rmain.c
model_shared.c
model_shared.h