diff --git a/src/Graphics/CommandBuffer.cs b/src/Graphics/CommandBuffer.cs
index 45a602e..923e766 100644
--- a/src/Graphics/CommandBuffer.cs
+++ b/src/Graphics/CommandBuffer.cs
@@ -784,16 +784,14 @@ namespace MoonWorks.Graphics
 
 			var elementSize = sizeof(T);
 
-			fixed (T* ptr = &data[0])
+			fixed (T* ptr = &data[startElement])
 			{
-				var dataPtr = ptr + (startElement * elementSize);
-
 				Refresh.Refresh_SetBufferData(
 					Device.Handle,
 					Handle,
 					buffer.Handle,
 					bufferOffsetInBytes,
-					(IntPtr) dataPtr,
+					(IntPtr) ptr,
 					(uint) (numElements * elementSize)
 				);
 			}