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:
parent
fb47a1752b
commit
a67e60175f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue