Defined APP_PLATOFM to support both OES2 and OES3