So I did some re arranging and took out the GL_TEXTURE_2Ds but I still can't manage to get the image fill the shape.
I'm trying to follow the Directional Blur example included in fxplug sdk's function called "copy from texture to texture". Hoping that this will load my image to the shape I created.
//This block draws my shape
GLfloat texpts[2][2][2] = {{{0.0, 0.0}, {0.0, 1.0}},
{{1.0, 0.0}, {1.0, 1.0}}};
glMap2f(GL_MAP2_VERTEX_3, 0, 1, 3, 4,
0, 1, 12, 4, &compoundPoints[0][0][0]);
glMap2f(GL_MAP2_TEXTURE_COORD_2, 0, 1, 2, 2,
0, 1, 4, 2, &texpts[0][0][0]);
glEnable(GL_MAP2_TEXTURE_COORD_2);
glEnable(GL_MAP2_VERTEX_3);
glMapGrid2f(20, 0.0, 1.0, 20, 0.0, 1.0);
[linkedTexture disable];
glBindTexture([linkedTexture target], 0);
glEnable(GL_DEPTH_TEST);
glShadeModel (GL_FLAT);
glColor3f(1.0, 0.0, 0.0);
glEvalMesh2(GL_FILL, 0, 20, 0, 20);
** What ends up happening is that the square will be made, but will only follow the glColor3f(1.0,0.0,0.0);