ref: 967db0cbf26360630c1530b6161e178f53557471
parent: 7e9a295117bce0da9bdc6ccf1dfcc0e3d2169c08
author: cancel <cancel@cancel.fm>
date: Wed Feb 12 17:36:55 EST 2020
Remove unused function It had a typo, anyway, which made it wrong.
--- a/gbuffer.h
+++ b/gbuffer.h
@@ -1,13 +1,6 @@
#pragma once
#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,
Usz width, Usz y, Usz x,
Isz delta_y, Isz delta_x) {