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:
Jamie Gennis 2012-04-11 17:27:12 -07:00
parent c2c380259b
commit a96b6bdea3
1 changed files with 1 additions and 1 deletions

View File

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