SurfaceTexture: work around a compiler bug
This change works around a compiler bug with the GCC 4.6 toolchain. Bug: 6292211 Change-Id: I004c4750d92a29f193a37d8e605a28fdc3b7f076
This commit is contained in:
parent
c2c380259b
commit
a96b6bdea3
@ -409,7 +409,7 @@ protected:
|
||||
|
||||
// drawTexture draws the SurfaceTexture over the entire GL viewport.
|
||||
void drawTexture() {
|
||||
const GLfloat triangleVertices[] = {
|
||||
static const GLfloat triangleVertices[] = {
|
||||
-1.0f, 1.0f,
|
||||
-1.0f, -1.0f,
|
||||
1.0f, -1.0f,
|
||||
|
Loading…
Reference in New Issue
Block a user