You need to use power-of-2 (POT) dimensions, unless you use texture rect (non-normalized texcoords) or non-power-of-2 textures (NPOT) (requires newer cards).
You can always use a texture with the next POT in each dimension and adjust your texcoords accordingly.