Try to fix build

Change-Id: I0defecfe7370a3b2ebabe27b707952c1c192e077
This commit is contained in:
Zolnai Tamás
2014-04-20 22:57:08 +02:00
parent 80915b8f21
commit 1517ad79f3

View File

@@ -197,7 +197,11 @@ uno::Reference< media::XFrameGrabber > SAL_CALL OGLPlayer::createFrameGrabber()
{
osl::MutexGuard aGuard(m_aMutex);
m_aContext.init();
m_pHandle->viewport = glTFViewport({0,0,800,600}); //TODO: Use real values instead of constants.
//TODO: Use real values instead of constants.
m_pHandle->viewport.x = 0;
m_pHandle->viewport.y = 0;
m_pHandle->viewport.width = 800;
m_pHandle->viewport.height = 600;
gltf_renderer_set_content(m_pHandle);
OGLFrameGrabber *pFrameGrabber = new OGLFrameGrabber( m_pHandle );
return uno::Reference< media::XFrameGrabber >( pFrameGrabber );;