]> de.git.xonotic.org Git - xonotic/darkplaces.git/commit
Add csqc_polygons_defaultmaterial_nocullface cvar which defaults to 1 in nexuiz and...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 25 May 2020 08:10:04 +0000 (08:10 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 25 May 2020 08:10:04 +0000 (08:10 +0000)
commit3291222c2c2c8cc53d63d859cf0f89940be25604
tree96774ec8a2a529a707da90ed39143cd98d3d8ac3
parentcc0e49ff09037fcfb8ae11f5eff119f84d413ab6
Add csqc_polygons_defaultmaterial_nocullface cvar which defaults to 1 in nexuiz and xonotic derived games, this restores the compatible behavior with older versions of the engine.  It defaults to 0 in other games (and would be recommended to set to 0 in those games when they make a new release) as it seems like that would be the better default for efficiency (and matches FTEQW engine).

Fixed a bug in CL_MeshEntities_FinalizeRenderEntity where it skipped finalize when the entity has no surfaces, but since it is still included in the render entities list it was rendering garbage when unused.

Use the "$whiteimage" texture for CSQC/UI polygons (VM_CL_R_PolygonBegin) that specify texture "", to be compatible with older versions.

Clarify the name of a parameter on Mod_Mesh_GetTexture prototype to match the implementation as it was misleading otherwise.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12569 d7cf8633-e32d-0410-b094-e92efae38249
cl_main.c
clvm_cmds.c
cmd.c
csprogs.h
model_shared.h