Textures with beginContour

I created a plane with a texture applied and it worked fine. I tried adding a hole in the centre using the beginContour(); function, but doing this however seemed to frick up the textures and I’m not sure how to fix them. Any help would be appreciated

PImage wall;

void setup() {
size(640, 360, P3D);
lights();
wall = loadImage(“wallTexture1.jpg”);
textureMode(NORMAL);
}

void draw() {
background(0);

pushMatrix();
beginShape();
texture(wall);
textureWrap(REPEAT);
translate(0, 0, -2325);
vertex(-100, -100, 0, 0);
vertex(2000, -100, 2, 0);
vertex(2000, 1000, 2, 2);
vertex(-100, 1000, 0, 2);
beginContour(); //without the contour it looks fine
vertex(215, 100, 0, 0);
vertex(215, 500, 2, 0);
vertex(435, 500, 2, 2);
vertex(435, 100, 0, 2);
endContour();
endShape();
popMatrix();
}