Browse Source

Remove unused function

It had a typo, anyway, which made it wrong.
master
cancel 5 years ago
parent
commit
967db0cbf2
  1. 7
      gbuffer.h

7
gbuffer.h

@ -1,13 +1,6 @@
#pragma once #pragma once
#include "base.h" #include "base.h"
ORCA_PURE static inline Glyph gbuffer_peek(Glyph *gbuf, Usz height, Usz width,
Usz y, Usz x) {
assert(y < height && x < width);
(void)height;
return gbuf[y + width + x];
}
ORCA_PURE static inline Glyph gbuffer_peek_relative(Glyph *gbuf, Usz height, ORCA_PURE static inline Glyph gbuffer_peek_relative(Glyph *gbuf, Usz height,
Usz width, Usz y, Usz x, Usz width, Usz y, Usz x,
Isz delta_y, Isz delta_x) { Isz delta_y, Isz delta_x) {

Loading…
Cancel
Save