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
f41f50e4
Kaydet (Commit)
f41f50e4
authored
Kas 02, 2014
tarafından
Markus Mohrhard
Kaydeden (comit)
Markus Mohrhard
Kas 10, 2014
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix windows compile error
Change-Id: I9154cd0c0352b8807b5a5eae2444629c9cfe3d48
üst
79ae6389
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
OpenGLContext.cxx
vcl/source/opengl/OpenGLContext.cxx
+3
-3
No files found.
vcl/source/opengl/OpenGLContext.cxx
Dosyayı görüntüle @
f41f50e4
...
...
@@ -182,7 +182,7 @@ bool WGLisExtensionSupported(const char *extension)
}
}
bool
InitMultisample
(
PIXELFORMATDESCRIPTOR
pfd
,
int
&
rPixelFormat
)
bool
InitMultisample
(
PIXELFORMATDESCRIPTOR
pfd
,
int
&
rPixelFormat
,
bool
bUseDoubleBufferedRendering
)
{
HWND
hWnd
=
NULL
;
GLWindow
glWin
;
...
...
@@ -232,7 +232,7 @@ bool InitMultisample(PIXELFORMATDESCRIPTOR pfd, int& rPixelFormat)
0
,
0
};
if
(
!
m
bUseDoubleBufferedRendering
)
if
(
!
bUseDoubleBufferedRendering
)
iAttributes
[
1
]
=
GL_FALSE
;
bool
bArbMultisampleSupported
=
true
;
...
...
@@ -600,7 +600,7 @@ bool OpenGLContext::ImplInit()
// we must check whether can set the MSAA
int
WindowPix
=
0
;
bool
bMultiSampleSupport
=
InitMultisample
(
PixelFormatFront
,
WindowPix
);
bool
bMultiSampleSupport
=
InitMultisample
(
PixelFormatFront
,
WindowPix
,
mbUseDoubleBufferedRendering
);
if
(
bMultiSampleSupport
&&
WindowPix
!=
0
)
{
m_aGLWin
.
bMultiSampleSupported
=
true
;
...
...
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