From a67e60175f0cf757d9d79bf46af2a1508fab2e36 Mon Sep 17 00:00:00 2001 From: David Crawshaw Date: Fri, 5 Dec 2014 09:59:45 -0500 Subject: [PATCH] x/mobile/app: remove gl.CULL_FACE Leave this up to the apps. Right now the current face culling direction does not match glimage. LGTM=nigeltao R=hyangah, nigeltao CC=golang-codereviews https://golang.org/cl/185870043 --- app/loop_android.go | 1 - 1 file changed, 1 deletion(-) diff --git a/app/loop_android.go b/app/loop_android.go index 8b5f98a..41a5b62 100644 --- a/app/loop_android.go +++ b/app/loop_android.go @@ -89,7 +89,6 @@ import ( func windowDrawLoop(cb Callbacks, w *C.ANativeWindow, queue *C.AInputQueue) { C.createEGLWindow(w) - gl.Enable(gl.CULL_FACE) // TODO: is the library or the app responsible for clearing the buffers? gl.ClearColor(0, 0, 0, 1) gl.Clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT)