aboutsummaryrefslogtreecommitdiffstats
path: root/assets.h
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2018-10-19 23:22:07 +0300
committerTomasz Kramkowski <tk@the-tk.com>2018-10-19 23:30:23 +0300
commit7c1edef3ac501d40e3de495b9434df71f535e9bc (patch)
treefd7f4264bdf5c30f7182a147ed9e6c7935c69bf2 /assets.h
parent91b543a29cb8852251908a49cd120a6f7d9f2f11 (diff)
downloadfaqe-7c1edef3ac501d40e3de495b9434df71f535e9bc.tar.gz
faqe-7c1edef3ac501d40e3de495b9434df71f535e9bc.tar.xz
faqe-7c1edef3ac501d40e3de495b9434df71f535e9bc.zip
Allow multiple shaders while reducing duplication
This change also stops using bie as eventually it will be replaced with a more sophisticated asset handling system which will also allow custom shaders.
Diffstat (limited to 'assets.h')
-rw-r--r--assets.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/assets.h b/assets.h
deleted file mode 100644
index 1d18a0a..0000000
--- a/assets.h
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * Copyright (C) 2018 Tomasz Kramkowski <tk@the-tk.com>
- * SPDX-License-Identifier: MIT
- */
-#ifndef ASSETS_H
-#define ASSETS_H
-
-#include <stddef.h>
-
-struct asset {
- void *data;
- size_t size;
-};
-
-#define BIE_ENTRY(name, pos, size) extern struct asset name;
-#include "assets.idx"
-#undef BIE_ENTRY
-
-#endif // ASSETS_H