summaryrefslogtreecommitdiffhomepage
path: root/examples/shaders/shaders_postprocessing.c
diff options
context:
space:
mode:
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)