Skip to content

Commit 083a62e

Browse files
committed
removed bytearray upload to buffers
1 parent b52727d commit 083a62e

File tree

1 file changed

+0
-10
lines changed
  • common/src/main/kotlin/com/lambda/graphics/buffer

1 file changed

+0
-10
lines changed

common/src/main/kotlin/com/lambda/graphics/buffer/Buffer.kt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -305,16 +305,6 @@ abstract class Buffer(
305305
return null
306306
}
307307

308-
/**
309-
* Sets the given data into the client mapped memory and executes the provided processing function to manage data transfer.
310-
*
311-
* @param data Data to set in memory
312-
* @param offset The starting offset within the buffer of the range to be mapped
313-
* @return Error encountered during the mapping process
314-
*/
315-
open fun upload(data: ByteArray, offset: Long): Throwable? =
316-
upload(ByteBuffer.wrap(data), offset)
317-
318308
/**
319309
* Sets the given data into the client mapped memory and executes the provided processing function to manage data transfer.
320310
*

0 commit comments

Comments
 (0)