aboutsummaryrefslogtreecommitdiff
path: root/pacc
diff options
context:
space:
mode:
Diffstat (limited to 'pacc')
-rw-r--r--pacc/pacc-d3d9.c1
-rw-r--r--pacc/pacc-gl.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/pacc/pacc-d3d9.c b/pacc/pacc-d3d9.c
index df78f6a..55555c5 100644
--- a/pacc/pacc-d3d9.c
+++ b/pacc/pacc-d3d9.c
@@ -71,6 +71,7 @@ static void pacc_buf_delete(struct pacc_buf *pb) {
static struct pacc_buf *pacc_gen_buf(
struct pacc_ctx *pc, struct pacc_tex *pt, enum pacc_buf_mode mode) {
+ (void)mode;
struct pacc_buf *pb = malloc(sizeof(*pb));
if (!pb) goto err;
*pb = (struct pacc_buf) {
diff --git a/pacc/pacc-gl.c b/pacc/pacc-gl.c
index ada045e..ae0db0e 100644
--- a/pacc/pacc-gl.c
+++ b/pacc/pacc-gl.c
@@ -188,6 +188,7 @@ static void pacc_buf_delete(struct pacc_buf *pb) {
static struct pacc_buf *pacc_gen_buf(
struct pacc_ctx *pc, struct pacc_tex *pt, enum pacc_buf_mode mode) {
+ (void)pc;
struct pacc_buf *pb = malloc(sizeof(*pb));
if (!pb) goto err;
*pb = (struct pacc_buf) {
@@ -432,6 +433,7 @@ static void pacc_tex_delete(struct pacc_tex *pt) {
}
static struct pacc_tex *pacc_gen_tex(struct pacc_ctx *pc, int w, int h) {
+ (void)pc;
struct pacc_tex *pt = malloc(sizeof(*pt));
if (!pt) goto err;
*pt = (struct pacc_tex) {