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
4e07c7e2
Kaydet (Commit)
4e07c7e2
authored
Nis 11, 2016
tarafından
Tomaž Vajngerl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1358428 fix "Null pointer dereferences"
Change-Id: I629ff54ea721f4d9626258690767088b1abfb0c6
üst
3c3bd96c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
texture.cxx
vcl/opengl/texture.cxx
+3
-3
No files found.
vcl/opengl/texture.cxx
Dosyayı görüntüle @
4e07c7e2
...
@@ -398,11 +398,11 @@ void OpenGLTexture::FillCoords<GL_TRIANGLES>(std::vector<GLfloat>& aCoord, const
...
@@ -398,11 +398,11 @@ void OpenGLTexture::FillCoords<GL_TRIANGLES>(std::vector<GLfloat>& aCoord, const
GLfloat
y1
=
0.0
f
;
GLfloat
y1
=
0.0
f
;
GLfloat
y2
=
0.0
f
;
GLfloat
y2
=
0.0
f
;
double
fTextureWidth
(
mpImpl
->
mnWidth
);
double
fTextureHeight
(
mpImpl
->
mnHeight
);
if
(
mpImpl
)
if
(
mpImpl
)
{
{
double
fTextureWidth
(
mpImpl
->
mnWidth
);
double
fTextureHeight
(
mpImpl
->
mnHeight
);
x1
=
(
maRect
.
Left
()
+
rPosAry
.
mnSrcX
)
/
fTextureWidth
;
x1
=
(
maRect
.
Left
()
+
rPosAry
.
mnSrcX
)
/
fTextureWidth
;
x2
=
(
maRect
.
Left
()
+
rPosAry
.
mnSrcX
+
rPosAry
.
mnSrcWidth
)
/
fTextureWidth
;
x2
=
(
maRect
.
Left
()
+
rPosAry
.
mnSrcX
+
rPosAry
.
mnSrcWidth
)
/
fTextureWidth
;
...
...
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