zgl.zig contains definitions for both BufferMapTarget and BufferTarget with the same contents. And buffer functions aren't consistent with which one to use. Example: mapBuffer() uses BufferMapTarget and mapBufferRange() uses BufferTarget.
IMO, BufferTarget seems like the one to keep. It's used more than BufferMapTarget and existed first and is commented. The usages of BufferMapTarget in mapBuffer() and unmapBuffer() could be changed to use BufferTarget instead.
zgl.zig contains definitions for both
BufferMapTarget
andBufferTarget
with the same contents. And buffer functions aren't consistent with which one to use. Example:mapBuffer()
usesBufferMapTarget
andmapBufferRange()
usesBufferTarget
.IMO,
BufferTarget
seems like the one to keep. It's used more thanBufferMapTarget
and existed first and is commented. The usages ofBufferMapTarget
inmapBuffer()
andunmapBuffer()
could be changed to useBufferTarget
instead.