mirror of https://github.com/bkaradzic/bgfx
Fixed Linux build.
This commit is contained in:
parent
333ff8500d
commit
20f24bbe2b
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include "bgfx_p.h"
|
||||
#include <bx/float4_t.h>
|
||||
#include <math.h> // powf
|
||||
|
||||
namespace bgfx
|
||||
{
|
||||
|
|
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue