Fix return value of allocate function for OsdCPUGLVertxBuffer