From c8970dd704ca5581b1ffae405031185b931bbac7 Mon Sep 17 00:00:00 2001 From: samcake <samuel.gateau@gmail.com> Date: Fri, 31 Mar 2017 11:34:03 -0700 Subject: [PATCH] Fixing the warning on windows --- libraries/gpu-gl/src/gpu/gl/GLBackendPipeline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/gpu-gl/src/gpu/gl/GLBackendPipeline.cpp b/libraries/gpu-gl/src/gpu/gl/GLBackendPipeline.cpp index 8aab6abaa9..1dad72dbc1 100644 --- a/libraries/gpu-gl/src/gpu/gl/GLBackendPipeline.cpp +++ b/libraries/gpu-gl/src/gpu/gl/GLBackendPipeline.cpp @@ -229,7 +229,7 @@ void GLBackend::do_setResourceTexture(const Batch& batch, size_t paramOffset) { _resource._textures[slot] = resourceTexture; - _stats._RSAmountTextureMemoryBounded += object->size(); + _stats._RSAmountTextureMemoryBounded += (int) object->size(); } else { releaseResourceTexture(slot);