Skip to content

Commit fd8592e

Browse files
author
Michael Fiess
authored
coverity fix (#1471)
* texture memory usage api * texture memory usage api * texture memory usage api * coverity fix
1 parent 388fe7a commit fd8592e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/pxScene2d/src/pxResource.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ void rtImageResource::reloadData()
356356

357357
uint64_t rtImageResource::textureMemoryUsage()
358358
{
359-
int64_t textureMemory = 0;
359+
uint64_t textureMemory = 0;
360360
if (mTexture.getPtr() != NULL)
361361
{
362362
textureMemory = (mTexture->width() * mTexture->height() * 4);

0 commit comments

Comments
 (0)