aboutsummaryrefslogtreecommitdiff
path: root/src/gfx/privinc
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-02-08 15:39:56 +0100
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-03-30 08:20:21 +0200
commit98f0d3e026f978d556cc91cfaa815d92a0b182c8 (patch)
treebd9f39354da8fcbed0453bf45152c39e803abbf6 /src/gfx/privinc
parent56286a0a962119ddebf26df58d4a7c5d2f6a3fc7 (diff)
downloadjancity-98f0d3e026f978d556cc91cfaa815d92a0b182c8.tar.gz
Replace x_get functions with macros
The PS1 port relies on a heap for primitives since the GPU renders the scene asynchronously. However, SDL-based platforms render primitives synchronously, so structures can be allocated on the stack instead.
Diffstat (limited to 'src/gfx/privinc')
-rw-r--r--src/gfx/privinc/gfx_private.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gfx/privinc/gfx_private.h b/src/gfx/privinc/gfx_private.h
index 0553362..972efd0 100644
--- a/src/gfx/privinc/gfx_private.h
+++ b/src/gfx/privinc/gfx_private.h
@@ -11,10 +11,6 @@ extern "C"
void rect_init(struct rect *r);
void semitrans_rect_init(struct rect *r);
-void stp_4line_init(struct stp_4line *l);
-void *gfx_port_heap(size_t *n);
-void gfx_reset_heap(void);
-
#ifdef __cplusplus
}
#endif