]> git.xonotic.org Git - xonotic/darkplaces.git/commit
image: Sanitize paths on *all* images rather than images loaded from Q3 shaders
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 11 Apr 2021 19:23:23 +0000 (19:23 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 11 Apr 2021 19:23:23 +0000 (19:23 +0000)
commit8b6a72238c9e0686395f9849a9c00f8762f3a244
treee710b6504834a2b7b8538c9296a2ed58f95292f3
parent8ae31a0c113fae6279d3e18c0482fdd4b0ef7647
image: Sanitize paths on *all* images rather than images loaded from Q3 shaders

Implemented FS_SanitizePath. Perhaps expand on this? Not really a clean
way to do it that I can think of, but I can't see the harm in doing this
for all filepaths.

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