mirror of
https://github.com/Kiritow/MiniEngine.git
synced 2024-03-22 13:11:22 +08:00
Fix Compile and link error
This commit is contained in:
parent
d4aa4cbbaa
commit
de833ccfc2
|
@ -2114,7 +2114,7 @@ namespace MiniEngine
|
|||
std::tuple<int,int,int> SDLSystem::GetIMGLinkedVersion()
|
||||
{
|
||||
const SDL_version* ptr=IMG_Linked_Version();
|
||||
return std::make_tuple();
|
||||
return std::make_tuple(ptr->major,ptr->minor,ptr->patch);
|
||||
}
|
||||
|
||||
//static
|
||||
|
|
|
@ -13,7 +13,8 @@ void GetMD5Raw(unsigned char* buffer,unsigned int bufferLen,unsigned char* outbu
|
|||
|
||||
int GetCRC32(unsigned char* buffer,unsigned int bufferLen,uint32_t& out_CRCResult);
|
||||
|
||||
int CompareSurface(const Surface& surface1,const Surface& surface2,int allowableError);
|
||||
/// Compare two surfaces. Currently, Surface::getRawPointer() does not has constant attribute.
|
||||
int CompareSurface(Surface& surface1,Surface& surface2,int allowableError);
|
||||
|
||||
class UniRandom
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user