Kaydet (Commit) 4e9dcb50 authored tarafından Jan Holesovsky's avatar Jan Holesovsky

windows opengl: Implement WinOpenGLSalGraphicsImpl::Init() too.

[Blind fix to fix build; real fix to follow after testing.]

Change-Id: Ic4cf2dc74ba4649a2453bc351cdc1d1fad59a0ca
üst bb77fd64
......@@ -18,6 +18,15 @@ WinOpenGLSalGraphicsImpl::WinOpenGLSalGraphicsImpl(WinSalGraphics& rGraphics):
{
}
void WinOpenGLSalGraphicsImpl::Init()
{
// FIXME - is this still needed after the recent changes?
//if (mbVirDev)
// GetOpenGLContext().requestVirtualDevice();
GetOpenGLContext().requestSingleBufferedRendering();
GetOpenGLContext().init(mhLocalDC, mhWnd);
}
void WinOpenGLSalGraphicsImpl::copyBits( const SalTwoRect& rPosAry, SalGraphics* pSrcGraphics )
{
OpenGLSalGraphicsImpl *pImpl = pSrcGraphics ? static_cast< OpenGLSalGraphicsImpl* >(pSrcGraphics->GetImpl()) : static_cast< OpenGLSalGraphicsImpl *>(mrParent.GetImpl());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment