Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
3d580990
Kaydet (Commit)
3d580990
authored
Ock 20, 2015
tarafından
Chris Sherlock
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
vcl: increment ref in OpenGLSalGraphicsImpl::AcquireContext
Change-Id: Id8167dfe55eb6f7a83454f5eb7a3b5a96e252980
üst
c9e6b585
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
gdiimpl.cxx
vcl/opengl/gdiimpl.cxx
+4
-0
No files found.
vcl/opengl/gdiimpl.cxx
Dosyayı görüntüle @
3d580990
...
@@ -96,7 +96,11 @@ bool OpenGLSalGraphicsImpl::AcquireContext( )
...
@@ -96,7 +96,11 @@ bool OpenGLSalGraphicsImpl::AcquireContext( )
if
(
pContext
)
if
(
pContext
)
pContext
->
AddRef
();
pContext
->
AddRef
();
else
else
{
pContext
=
mbOffscreen
?
GetDefaultContext
()
:
CreateWinContext
();
pContext
=
mbOffscreen
?
GetDefaultContext
()
:
CreateWinContext
();
if
(
pContext
)
pContext
->
AddRef
();
}
mpContext
=
pContext
;
mpContext
=
pContext
;
return
(
mpContext
!=
NULL
);
return
(
mpContext
!=
NULL
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment