aboutsummaryrefslogtreecommitdiff
path: root/examples/core_3d_picking.c
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2016-03-17 13:51:48 +0100
committerRay <raysan5@gmail.com>2016-03-17 13:51:48 +0100
commite2ba22ec596757d62f8b22cf8b722d68040f23d3 (patch)
tree28b9e0ddfe60534b167dd659e27c4fa10288d329 /examples/core_3d_picking.c
parent49df957058b2f602c7e6873fec0007fcd7a4dc4c (diff)
downloadraylib-e2ba22ec596757d62f8b22cf8b722d68040f23d3.tar.gz
raylib-e2ba22ec596757d62f8b22cf8b722d68040f23d3.zip
Improved 2D-3D drawing
Depth test disabled for 2D and only used on 3D; consequently LINES vs TRIANGLES vs QUADS buffers drawing order maters... but blending also works ok.
Diffstat (limited to 'examples/core_3d_picking.c')
-rw-r--r--examples/core_3d_picking.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/core_3d_picking.c b/examples/core_3d_picking.c
index 33eaed8a..da303107 100644
--- a/examples/core_3d_picking.c
+++ b/examples/core_3d_picking.c
@@ -77,7 +77,7 @@ int main()
End3dMode();
- DrawText("Try selecting the box with mouse!", 240, 10, 20, GRAY);
+ DrawText("Try selecting the box with mouse!", 240, 10, 20, DARKGRAY);
if(collision) DrawText("BOX SELECTED", (screenWidth - MeasureText("BOX SELECTED", 30)) / 2, screenHeight * 0.1f, 30, GREEN);