HTC VIVE need help

it is ok now! , it seems set_num_views is not work!

add : _htc_texture->set_textures_power_2(ATS_none);

bool GraphicsOutput::init_hTC_vive()
{
if(_htc_texture==NULL)
{
_htc_texture=new Texture();
//_htc_texture->set_num_views(2);
_htc_texture->set_textures_power_2(ATS_none);
add_render_texture(_htc_texture, RTM_bind_or_copy);
}

return InitHTCVive();

}

SubmitImage before begin_frame

void wglGraphicsWindow::SubmitImage()
{

PreparedGraphicsObjects *pgo = _gsg->get_prepared_objects();
GLTextureContext *screentex = (GLTextureContext )_htc_texture->prepare_now(0, pgo, _gsg);
Submit((void
)(screentex->_index));
}

void CHTCVive::Submit(void* iTextureID)
{
if (m_pHMD)
{
vr::Texture_t eyeTexture = { iTextureID, vr::API_OpenGL, vr::ColorSpace_Gamma };
vr::VRCompositor()->Submit(vr::Eye_Left, &eyeTexture,&m_leftBound);
vr::VRCompositor()->Submit(vr::Eye_Right, &eyeTexture,&m_rightBound);
}
}