From c044ae5dfc62031924c2f4c0ecc87b0da72a6b3f Mon Sep 17 00:00:00 2001 From: Dan Stoza Date: Fri, 8 Jan 2016 10:52:16 -0800 Subject: libagl: Switch from gralloc to GraphicBufferMapper Removes all direct references to the gralloc module from libagl and uses the GraphicBufferMapper class instead when locking and unlocking buffers. Also a couple of minor code cleanups to eliminate warnings. Change-Id: Ie982d375b3152d5f677ab54c2067179b8d34c06d --- opengl/libagl/light.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opengl/libagl/light.cpp') diff --git a/opengl/libagl/light.cpp b/opengl/libagl/light.cpp index 479bf7ee07..e7fe9d71a3 100644 --- a/opengl/libagl/light.cpp +++ b/opengl/libagl/light.cpp @@ -229,7 +229,7 @@ static inline void validate_light_mvi(ogles_context_t* c) #endif vnorm3(l.normalizedObjPosition.v, l.objPosition.v); } - const vec4_t eyeViewer = { 0, 0, 0x10000, 0 }; + const vec4_t eyeViewer = {{{ 0, 0, 0x10000, 0 }}}; #if OBJECT_SPACE_LIGHTING c->transforms.mvui.point3(&c->transforms.mvui, &c->lighting.objViewer, &eyeViewer); -- cgit v1.2.3-59-g8ed1b