Fix the build after the GL ES2 fix.

The patch was incomplete and didn't survive a clean build.

Change-Id: I86a5bc13755c0d028d53146eb1d0d708bf429dd9
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>