Enhance the library to handle unknown image format.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18774
6f19259b-4bc3-4df7-8a09-
765794883524
\r
ASSERT ((GopBlt != NULL) && (GopBltSize != NULL));\r
\r
- if (ImageFormat != ImageFormatBmp) {\r
+ if ((ImageFormat != ImageFormatBmp) && (ImageFormat != ImageFormatUnknown)) {\r
return EFI_UNSUPPORTED;\r
}\r
\r