Skip to content

Commit

Permalink
:/
Browse files Browse the repository at this point in the history
  • Loading branch information
castle055 committed May 2, 2024
1 parent 405e9a1 commit 2228b4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/graphics/pixelmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ struct __attribute__((packed)) pixel_t {
struct pixelmap_t: public md_buffer_t<pixel_t, 2> {
pixelmap_t(unsigned long w, unsigned long h): md_buffer_t<pixel_t, 2>({w, h}) {
}
pixelmap_t(unsigned long w, unsigned long h, void* data): md_buffer_t<pixel_t, 2>({w, h}, static_cast<pixel_t*>(data)) {
pixelmap_t(unsigned long w, unsigned long h, pixel_t*& data): md_buffer_t<pixel_t, 2>({w, h}, data) {
}

[[nodiscard]] size_t width() const {
Expand Down

0 comments on commit 2228b4a

Please sign in to comment.