Added LoadText() function

Actually, renamed ReadTextFile() from rlgl and make it public
This commit is contained in:
raysan5
2017-01-15 01:09:15 +01:00
parent 4ea8494f3e
commit 4a158d972d
2 changed files with 38 additions and 39 deletions

View File

@@ -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)