aboutsummaryrefslogtreecommitdiffstats
path: root/tex.h
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2018-05-02 21:22:03 +0100
committerTomasz Kramkowski <tk@the-tk.com>2018-05-02 21:22:03 +0100
commitb659c412263f6dd7df962f7d42f4f51b7c3d5609 (patch)
treee2495e0b1446527b909a9c9fa2776797c7c28221 /tex.h
parentec93a8eddf70adef2b1439a511d990021ad25d99 (diff)
downloadfaqe-b659c412263f6dd7df962f7d42f4f51b7c3d5609.tar.gz
faqe-b659c412263f6dd7df962f7d42f4f51b7c3d5609.tar.xz
faqe-b659c412263f6dd7df962f7d42f4f51b7c3d5609.zip
Implement diffuse texture loading and basic material support
Diffstat (limited to 'tex.h')
-rw-r--r--tex.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/tex.h b/tex.h
new file mode 100644
index 0000000..c7ad0d2
--- /dev/null
+++ b/tex.h
@@ -0,0 +1,14 @@
+/*
+ * Copyright (C) 2018 Tomasz Kramkowski <tk@the-tk.com>
+ * SPDX-License-Identifier: MIT
+ */
+#ifndef TEX_H
+#define TEX_H
+
+#include <stdio.h>
+
+#include "gl.h"
+
+GLuint png2tex(FILE *f);
+
+#endif // TEX_H