aboutsummaryrefslogtreecommitdiff
path: root/examples/shaders/shaders_postprocessing.c
diff options
context:
space:
mode:
authorRay San <raysan5@gmail.com>2018-05-04 16:54:05 +0200
committerRay San <raysan5@gmail.com>2018-05-04 16:54:05 +0200
commit6045062a05a0cc5bd654ad2c2e7d88f94579cd73 (patch)
tree33501ec5ce20096821c54329f97189c39d83d79d /examples/shaders/shaders_postprocessing.c
parent6324697ffd7fd410274599457dd9f85119510898 (diff)
downloadraylib-6045062a05a0cc5bd654ad2c2e7d88f94579cd73.tar.gz
raylib-6045062a05a0cc5bd654ad2c2e7d88f94579cd73.zip
Renamed some functions
- Renamed Begin3dMode() --> BeginMode3D() - Renamed Begin2dMode() --> BeginMode2D() - Renamed End3dMode() --> EndMode3D() - Renamed End2dMode() --> EndMode2D()
Diffstat (limited to 'examples/shaders/shaders_postprocessing.c')
-rw-r--r--examples/shaders/shaders_postprocessing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/shaders/shaders_postprocessing.c b/examples/shaders/shaders_postprocessing.c
index 5eeda896..80660d68 100644
--- a/examples/shaders/shaders_postprocessing.c
+++ b/examples/shaders/shaders_postprocessing.c
@@ -130,13 +130,13 @@ int main()
BeginTextureMode(target); // Enable drawing to texture
- Begin3dMode(camera);
+ BeginMode3D(camera);
DrawModel(dwarf, position, 2.0f, WHITE); // Draw 3d model with texture
DrawGrid(10, 1.0f); // Draw a grid
- End3dMode();
+ EndMode3D();
EndTextureMode(); // End drawing to texture (now we have a texture available for next passes)