fixed bug preventing compilation on newer versions of gles