Simple function to set the depth text for openGL ES, implemented in Objective-C