How to stick image over the mesh as texture ?

Hello! everyone.

I don’t know how to stick image over the mesh.
On the macPC(OS X), the following code is successful.

testApp.cpp

  
  
#include "testApp.h"  
  
//--------------------------------------------------------------  
void testApp::setup(){  
    faceImage.allocate(640, 480, OF_IMAGE_COLOR);  
    faceImage.loadImage("koomote.png");  
       
    ofBackgroundHex(0x000000);  
    ofEnableBlendMode(OF_BLENDMODE_ADD);  
    glEnable(GL_DEPTH_TEST);  
}  
//--------------------------------------------------------------  
void testApp::update(){  
  
    mesh.addVertex(ofVec3f(0,0,0));  
    mesh.addVertex(ofVec3f(640,0,0));  
    mesh.addVertex(ofVec3f(640,480,0));  
    mesh.addVertex(ofVec3f(0,480,0));  
    mesh.addTexCoord(ofVec2f(0, 0));  
    mesh.addTexCoord(ofVec2f(640, 0));  
    mesh.addTexCoord(ofVec2f(640, 480));  
    mesh.addTexCoord(ofVec2f(0, 480));  
}  
  
//--------------------------------------------------------------  
void testApp::draw(){  
    ofSetHexColor(0xffffff);  
    ofPushMatrix();  
        ofTranslate(ofGetWidth()/2, ofGetHeight()/2);  
        faceImage.getTextureReference().bind();  
        glPointSize(30000.0);  
        glEnable(GL_POINT_SMOOTH);  
        mesh.draw();  
        faceImage.getTextureReference().unbind();  
    ofPopMatrix();  
    string info = ofToString(ofGetFrameRate(), 2);  
    ofDrawBitmapString(info, 30,30);  
}  
  

However, on the iPad(iOS) this code is not successful.
Based on emptyExample(iphone), I changed from the parts of the codes(testApp.h, testApp.mm).
First of all, I can’t mesh’s wireframe on the iPad.

openFrameworks v007 / xcode 4.3

Atsushi