diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-12-08 13:40:34 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-12-08 13:48:39 +0000 |
commit | 2109e7d9a0d3dab172961ec19e75da1fa8a6cc61 (patch) | |
tree | 88a856ae7f50a0b59725a6fbdbbd80d3181c7dd0 /i18nutil | |
parent | b42225d5d11a78e186797d9753ff40867f6b678a (diff) |
the return from ImplInit *is* checked
bool WinOpenGLContext::init(HDC hDC, HWND hWnd)
{
... return ImplInit();
}
rtl::Reference<OpenGLContext> WinOpenGLSalGraphicsImpl::CreateWinContext()
{
... if (!xContext->init(mrWinParent.mhLocalDC, mrWinParent.mhWnd))
}
etc.
Another problem here is ...
"If we notice that OpenGL is broken the first time being called, it is not too
late to call disableOpenGLAndTerminateForRestart(). The first time this will be
called is from displaying the splash screen"
isn't true when the first start causes opengl to be disabled, then on subsequent
starts you can enter this function from launching an opengl slide transition.
(note opengl is disabled if opengl is < 30, so all the versioning checks the
slide transitions do is probably pointless now. The only actually useful use
of opengl we have seems to be somewhat unloved)
Change-Id: I1e159f826447520f39ea063fd4c0c83220b1385f
Diffstat (limited to 'i18nutil')
0 files changed, 0 insertions, 0 deletions