summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2017-01-15 01:09:15 +0100
committerraysan5 <[email protected]>2017-01-15 01:09:15 +0100
commit4a158d972d9d110fcb581bc9f6583d05a2dc2544 (patch)
tree105a2bee1c5483df1be5c55d51f2bbf33b763ff8 /src/raylib.h
parent4ea8494f3e03440d0d67db8a3fa77ac50a4b1a36 (diff)
downloadraylib-4a158d972d9d110fcb581bc9f6583d05a2dc2544.tar.gz
raylib-4a158d972d9d110fcb581bc9f6583d05a2dc2544.zip
Added LoadText() function
Actually, renamed ReadTextFile() from rlgl and make it public
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h
index fa4f44e6..a47d3c59 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -925,6 +925,7 @@ RLAPI RayHitInfo GetCollisionRayGround(Ray ray, float groundHeight);
// Shaders System Functions (Module: rlgl)
// NOTE: This functions are useless when using OpenGL 1.1
//------------------------------------------------------------------------------------
+RLAPI char *LoadText(const char *fileName); // Load chars array from text file
RLAPI Shader LoadShader(char *vsFileName, char *fsFileName); // Load shader from files and bind default locations
RLAPI void UnloadShader(Shader shader); // Unload shader from GPU memory (VRAM)