Fix more static analysis errors 50/294850/1
authorDavid Steele <david.steele@samsung.com>
Tue, 27 Jun 2023 12:39:29 +0000 (13:39 +0100)
committerDavid Steele <david.steele@samsung.com>
Tue, 27 Jun 2023 12:39:29 +0000 (13:39 +0100)
Change-Id: I7d78c8431db5a3323dbb308a36ef88dfc0e8d4b3

dali/internal/graphics/gles-impl/gles-context.cpp

index 569fdfc..b61c6fc 100644 (file)
@@ -718,7 +718,7 @@ void Context::ResolveGpuUniformBuffers()
   auto  i  = 0u;
   for(auto& binding : mImpl->mCurrentUBOBindings)
   {
-    gl.BindBufferRange(GL_UNIFORM_BUFFER, i++, binding.buffer->GetGLBuffer(), GLintptr(binding.offset), binding.dataSize);
+    gl.BindBufferRange(GL_UNIFORM_BUFFER, i++, binding.buffer->GetGLBuffer(), GLintptr(binding.offset), GLintptr(binding.dataSize));
   }
 }