mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-03-14 00:49:53 -04:00
Fixed unused result warning.
This commit is contained in:
parent
5454af0057
commit
41a688da6f
1 changed files with 2 additions and 1 deletions
|
@ -37,7 +37,8 @@ int main(int _argc, const char* _argv[])
|
|||
FILE* file = fopen(_argv[1], "rb");
|
||||
uint32_t size = fsize(file);
|
||||
const Memory* mem = bgfx::alloc(size);
|
||||
fread(mem->data, 1, size, file);
|
||||
size_t readSize = fread(mem->data, 1, size, file);
|
||||
BX_UNUSED(readSize);
|
||||
fclose(file);
|
||||
|
||||
Dds dds;
|
||||
|
|
Loading…
Reference in a new issue