git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9814
d7cf8633-e32d-0410-b094-
e92efae38249
ddssize = ddsfilesize;
if (!dds)
ddssize = ddsfilesize;
if (!dds)
+ {
+ Log_Printf("ddstexturefailures.log", "%s\n", filename);
return NULL; // not found
return NULL; // not found
if (ddsfilesize <= 128 || memcmp(dds, "DDS ", 4) || ddssize < (unsigned int)BuffLittleLong(dds+4) || BuffLittleLong(dds+76) != 32)
{
if (ddsfilesize <= 128 || memcmp(dds, "DDS ", 4) || ddssize < (unsigned int)BuffLittleLong(dds+4) || BuffLittleLong(dds+76) != 32)
{