mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 04:53:06 +01:00
Fixed Linux build.
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user