diff options
| author | Ray <[email protected]> | 2021-03-12 18:00:36 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-03-12 18:00:36 +0100 |
| commit | fe3256be9fd20e4bc743934785f5a8a5d57a8832 (patch) | |
| tree | 29629c7f06dbdcf40f69139b81f454d8736e0096 /examples | |
| parent | 08723659386e463219d60447ef83ebdc5cf3f2f9 (diff) | |
| download | raylib-fe3256be9fd20e4bc743934785f5a8a5d57a8832.tar.gz raylib-fe3256be9fd20e4bc743934785f5a8a5d57a8832.zip | |
Renamed some functions to use latest raylib version
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/core/core_window_flags.c | 2 | ||||
| -rw-r--r-- | examples/shaders/shaders_rlgl_mesh_instanced.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/core/core_window_flags.c b/examples/core/core_window_flags.c index 191b5c8a..1ecd451c 100644 --- a/examples/core/core_window_flags.c +++ b/examples/core/core_window_flags.c @@ -145,7 +145,7 @@ int main(void) DrawFPS(10, 10); - DrawText(FormatText("Screen Size: [%i, %i]", GetScreenWidth(), GetScreenHeight()), 10, 40, 10, GREEN); + DrawText(TextFormat("Screen Size: [%i, %i]", GetScreenWidth(), GetScreenHeight()), 10, 40, 10, GREEN); // Draw window state info DrawText("Following flags can be set after window creation:", 10, 60, 10, GRAY); diff --git a/examples/shaders/shaders_rlgl_mesh_instanced.c b/examples/shaders/shaders_rlgl_mesh_instanced.c index 4cf780aa..702fbcb2 100644 --- a/examples/shaders/shaders_rlgl_mesh_instanced.c +++ b/examples/shaders/shaders_rlgl_mesh_instanced.c @@ -73,8 +73,8 @@ int main(void) Matrix *transforms = RL_MALLOC(count*sizeof(Matrix)); // Pre-multiplied transformations passed to rlgl - Shader shader = LoadShader(FormatText("resources/shaders/glsl%i/base_lighting_instanced.vs", GLSL_VERSION), - FormatText("resources/shaders/glsl%i/lighting.fs", GLSL_VERSION)); + Shader shader = LoadShader(TextFormat("resources/shaders/glsl%i/base_lighting_instanced.vs", GLSL_VERSION), + TextFormat("resources/shaders/glsl%i/lighting.fs", GLSL_VERSION)); // Get some shader loactions shader.locs[LOC_MATRIX_MVP] = GetShaderLocation(shader, "mvp"); |
