Simple function to set the openGL ES alpha blending, implemented in objective-c