Fixed Linux build.
This commit is contained in:
parent
333ff8500d
commit
20f24bbe2b
2 changed files with 2 additions and 1 deletions
|
@ -31,7 +31,7 @@ namespace bgfx
|
|||
return mem;
|
||||
}
|
||||
|
||||
void saveTga(const char* _filePath, uint32_t _width, uint32_t _height, uint32_t _srcPitch, const void* _src, bool _grayscale, bool _yflip)
|
||||
void saveTga(const char* _filePath, uint32_t _width, uint32_t _height, uint32_t _srcPitch, const void* _src, bool _grayscale = false, bool _yflip = false)
|
||||
{
|
||||
FILE* file = fopen(_filePath, "wb");
|
||||
if ( NULL != file )
|
||||
|
|
Reference in a new issue