mirror of
https://github.com/yquake2/ref_vk.git
synced 2025-02-28 06:12:36 +00:00
Fix m32 load
This commit is contained in:
parent
879808af8c
commit
8b6de3a4c1
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ LoadM32(const char *origname, imagetype_t type, loadimage_t load_image)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
if (size < sizeof(m8tex_t))
|
||||
if (size < sizeof(m32tex_t))
|
||||
{
|
||||
R_Printf(PRINT_ALL, "%s: can't load %s, small header\n", __func__, name);
|
||||
ri.FS_FreeFile((void *)mt);
|
||||
|
|
Loading…
Reference in a new issue