From c2c7f25a5346411cc2b01e26704ccac701c09bc7 Mon Sep 17 00:00:00 2001 From: Yoz Grahame Date: Wed, 7 Nov 2012 15:09:26 -0800 Subject: [PATCH] Documented load_png_as_texture() --- texture.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/texture.cpp b/texture.cpp index 6500b28e3f..475047a40d 100644 --- a/texture.cpp +++ b/texture.cpp @@ -19,6 +19,12 @@ #define TEXTURE_LOAD_ERROR 0 +/** + * Read a given filename as a PNG texture, and set + it as the current default OpenGL texture. + * @param[in] filename Relative path to PNG file + * @return Zero for success. + */ int load_png_as_texture(char* filename) {