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
ba02afad
Kaydet (Commit)
ba02afad
authored
Kas 19, 2015
tarafından
Emmanuel Gil Peyrot
Kaydeden (comit)
Tor Lillqvist
Kas 19, 2015
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
slideshow: Don’t create the permTexture if the shaders don’t use it
Change-Id: I0aefe2130a85303213e247676d45546d9859cf62
üst
f41358a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
OGLTrans_TransitionImpl.cxx
...ource/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx
+8
-8
No files found.
slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx
Dosyayı görüntüle @
ba02afad
...
...
@@ -1525,16 +1525,16 @@ void ShaderTransition::impl_preparePermShader()
CHECK_GL_ERROR
();
}
glActiveTexture
(
GL_TEXTURE1
);
CHECK_GL_ERROR
();
if
(
!
m_nHelperTexture
)
initPermTexture
(
&
m_nHelperTexture
);
glActiveTexture
(
GL_TEXTURE0
);
CHECK_GL_ERROR
();
location
=
glGetUniformLocation
(
m_nProgramObject
,
"permTexture"
);
if
(
location
!=
-
1
)
{
glActiveTexture
(
GL_TEXTURE1
);
CHECK_GL_ERROR
();
if
(
!
m_nHelperTexture
)
initPermTexture
(
&
m_nHelperTexture
);
glActiveTexture
(
GL_TEXTURE0
);
CHECK_GL_ERROR
();
glUniform1i
(
location
,
1
);
// texture unit 1
CHECK_GL_ERROR
();
}
...
...
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