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
3f00b009
Kaydet (Commit)
3f00b009
authored
Eki 27, 2014
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
handle the OpenGL context for the x11 backend
Change-Id: If3f5f879cc4fc0b78c325908c3358d09194144c6
üst
566afff9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
salgdi.cxx
vcl/unx/generic/gdi/salgdi.cxx
+7
-3
No files found.
vcl/unx/generic/gdi/salgdi.cxx
Dosyayı görüntüle @
3f00b009
...
@@ -154,10 +154,14 @@ void X11SalGraphics::SetDrawable( Drawable aDrawable, SalX11Screen nXScreen )
...
@@ -154,10 +154,14 @@ void X11SalGraphics::SetDrawable( Drawable aDrawable, SalX11Screen nXScreen )
else
else
{
{
OpenGLSalGraphicsImpl
*
pOpenGLImpl
=
dynamic_cast
<
OpenGLSalGraphicsImpl
*>
(
mpImpl
.
get
());
OpenGLSalGraphicsImpl
*
pOpenGLImpl
=
dynamic_cast
<
OpenGLSalGraphicsImpl
*>
(
mpImpl
.
get
());
if
(
pOpenGLImpl
)
if
(
pOpenGLImpl
&&
m_pFrame
)
{
{
pOpenGLImpl
->
GetOpenGLContext
().
init
(
GetXDisplay
(),
if
(
dynamic_cast
<
X11SalFrame
*>
(
m_pFrame
))
GetDisplay
()
->
GetDrawable
(
m_nXScreen
),
m_nXScreen
.
getXScreen
());
{
Window
aWin
=
dynamic_cast
<
X11SalFrame
*>
(
m_pFrame
)
->
GetDrawable
();
pOpenGLImpl
->
GetOpenGLContext
().
init
(
GetXDisplay
(),
aWin
,
m_nXScreen
.
getXScreen
());
}
}
}
}
}
nTextPixel_
=
GetPixel
(
nTextColor_
);
nTextPixel_
=
GetPixel
(
nTextColor_
);
...
...
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