diff --git a/android/examples/OpenGL/Performance/CubicGridImmediate/CubicGridImmediate.pde b/android/examples/OpenGL/Performance/CubicGridImmediate/CubicGridImmediate.pde index 18ac2bf62..7df929a86 100644 --- a/android/examples/OpenGL/Performance/CubicGridImmediate/CubicGridImmediate.pde +++ b/android/examples/OpenGL/Performance/CubicGridImmediate/CubicGridImmediate.pde @@ -50,6 +50,8 @@ void draw() { } popMatrix(); + hint(ENABLE_DEPTH_TEST); + fcount += 1; int m = millis(); if (m - lastm > 1000 * fint) { diff --git a/android/examples/OpenGL/Performance/CubicGridRetained/CubicGridRetained.pde b/android/examples/OpenGL/Performance/CubicGridRetained/CubicGridRetained.pde index 63b54809e..5caf462a2 100644 --- a/android/examples/OpenGL/Performance/CubicGridRetained/CubicGridRetained.pde +++ b/android/examples/OpenGL/Performance/CubicGridRetained/CubicGridRetained.pde @@ -99,6 +99,8 @@ void draw() { shape(grid); popMatrix(); + hint(ENABLE_DEPTH_TEST); + fcount += 1; int m = millis(); if (m - lastm > 1000 * fint) {