switching +3 and +4 makes the cube even more messed up. Disableing culling only shows more clearly that the two sides are missing.
I fixed it. This code was correct, but the bytewidth of the indexbuffer was to small *facepalm*
Well, thanks anyway. Can someone tell me why this causes that kind of trouble?