From b659c412263f6dd7df962f7d42f4f51b7c3d5609 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Wed, 2 May 2018 21:22:03 +0100 Subject: Implement diffuse texture loading and basic material support --- tex.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tex.h (limited to 'tex.h') 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 + * SPDX-License-Identifier: MIT + */ +#ifndef TEX_H +#define TEX_H + +#include + +#include "gl.h" + +GLuint png2tex(FILE *f); + +#endif // TEX_H -- cgit v1.2.3-54-g00ecf