Closed
Description
My code is using the following bufferSubData
signature.
bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: ArrayBufferView, srcOffset: GLuint, length?: GLuint): void;
Notice that it doesn't support passing in an ArrayBuffer
, but only DataView
or any of the concrete TypedArray
classes. I am using a DataView
.
This is what I see in Spector.
The issue [object DataView]
. It looks like an unhandled case which falls back to using a string for the report.
If you use a concrete TypeArray
such as Float32Array
, it tells me how much bytes were uploaded.
Similar thing happens to bufferData
when you use a DataView
instead of an ArrayBuffer
or a concrete TypedArray
.
(The STENCIL_BUFFER_BIT
is another weird thing visible on the screenshot, but I filed that as a separate issue as #262.)
Metadata
Metadata
Assignees
Labels
No labels