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
This commit is contained in:
David Crawshaw 2014-12-05 09:59:45 -05:00
parent fb47a1752b
commit a67e60175f
1 changed files with 0 additions and 1 deletions

View File

@ -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)