Fixed a bug in glDisable(GL_TEXTURE), should add _1D or _2D