mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-19 05:23:00 +01:00
Fixed compile warnings.
This commit is contained in:
@@ -2544,7 +2544,7 @@ namespace bgfx
|
||||
|
||||
default:
|
||||
{
|
||||
void* temp = BX_ALLOC(_allocator, imageGetSize(_format, _pitch/4, _height) );
|
||||
void* temp = BX_ALLOC(_allocator, imageGetSize(_format, uint16_t(_pitch/4), uint16_t(_height) ) );
|
||||
imageDecodeToRgba8(temp, _src, _width, _height, _pitch, _format);
|
||||
imageRgba8ToRgba32f(_dst, _width, _height, _pitch, temp);
|
||||
BX_FREE(_allocator, temp);
|
||||
|
||||
Reference in New Issue
Block a user