mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-04 19:20:43 +00:00
- sanitized walock.
Sorry, but having a globally writable pointer to every texture is just insane and makes any functional management impossible. This is merely a preparation for adding a real texture manager. That cannot be done if any code can write over the data at will. For that, it now has to make the texture writable first or create a writable empty texture.
This commit is contained in:
parent
3621aae3f0
commit
fbc22e0125
31 changed files with 185 additions and 193 deletions
|
@ -631,7 +631,7 @@ void DoTheCache(void)
|
|||
|
||||
for (i = 0; i < MAXTILES; i++)
|
||||
{
|
||||
if ((TEST(gotpic[i>>3], 1<<(i&7))) && (!waloff[i]))
|
||||
if ((TEST(gotpic[i>>3], 1<<(i&7))) && (!tilePtr(i)))
|
||||
{
|
||||
tileLoad(i);
|
||||
cnt++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue