summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmkiley <jordan.kiley@mapbox.com>2017-04-13 14:57:58 -0700
committerjmkiley <jordan.kiley@mapbox.com>2017-04-13 14:58:40 -0700
commit0f57df3cda1788228f7aa5b83c7a71deb6c38243 (patch)
tree1dfc80ea1b2ae6dcdc9632ccaccb3db841e4f0b2
parent29c0d0adae5fb76593d94c512b885d585f6cb3fd (diff)
downloadqtlocation-mapboxgl-upstream/jmkiley-opengl-troubleshoot.tar.gz
[ios] commented out depth testupstream/jmkiley-opengl-troubleshoot
-rw-r--r--platform/ios/app/LimeGreenStyleLayer.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/ios/app/LimeGreenStyleLayer.m b/platform/ios/app/LimeGreenStyleLayer.m
index c314b26db6..5584b39b6b 100644
--- a/platform/ios/app/LimeGreenStyleLayer.m
+++ b/platform/ios/app/LimeGreenStyleLayer.m
@@ -41,8 +41,8 @@
glDisable(GL_STENCIL_TEST);
// glDisable(GL_DEPTH_TEST);
glDrawArrays(GL_TRIANGLE_STRIP, 0, 4);
- glEnable(GL_DEPTH_TEST);
- glDepthFunc(GL_LEQUAL);
+// glEnable(GL_DEPTH_TEST);
+// glDepthFunc(GL_LEQUAL);
}
- (void)willMoveFromMapView:(MGLMapView *)mapView {