mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Missing check
This commit is contained in:
parent
a24607a452
commit
d9b64c14c6
1 changed files with 2 additions and 0 deletions
|
|
@ -129,6 +129,8 @@ void *Picture_PatchConvert(
|
|||
|
||||
if (!inbpp)
|
||||
I_Error("Picture_PatchConvert: unknown input bits per pixel?!");
|
||||
if (!Picture_FormatBPP(outformat))
|
||||
I_Error("Picture_PatchConvert: unknown output bits per pixel?!");
|
||||
|
||||
// If it's a patch, you can just figure out
|
||||
// the dimensions from the header.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue