mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +00:00
Epic fuckup
git-svn-id: https://svn.eduke32.com/eduke32@6808 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
1b2ab0edad
commit
86a4158b8a
1 changed files with 1 additions and 1 deletions
|
@ -567,7 +567,7 @@ int32_t loadpics(const char *filename, int32_t askedsize)
|
||||||
cachesize = (Bgetsysmemsize() <= (uint32_t)askedsize) ? (int32_t)((Bgetsysmemsize() / 100) * 60) : askedsize;
|
cachesize = (Bgetsysmemsize() <= (uint32_t)askedsize) ? (int32_t)((Bgetsysmemsize() / 100) * 60) : askedsize;
|
||||||
|
|
||||||
// NOTE: this doesn't make a lot of sense on modern OSs...
|
// NOTE: this doesn't make a lot of sense on modern OSs...
|
||||||
pic = Xaligned_alloc(cachesize, 16);
|
pic = Xaligned_alloc(16, cachesize);
|
||||||
initcache((intptr_t) pic, cachesize);
|
initcache((intptr_t) pic, cachesize);
|
||||||
|
|
||||||
E_RecalcPicSiz();
|
E_RecalcPicSiz();
|
||||||
|
|
Loading…
Reference in a new issue