ziglibs / zgl

Zig OpenGL Wrapper
MIT License
408 stars 63 forks source link

change type of readPixel data pointer #88

Closed quantumedbox closed 1 year ago

quantumedbox commented 1 year ago
  1. It should be nullable, as it could be used for pixel buffer operations.
  2. No other procedure uses plain *anyopaque, byte array pointer makes more sense here, imo.

Not sure whether it will break any existing code, alternatively ?*anyopaque could be used if it does.