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
9c830b09
Kaydet (Commit)
9c830b09
authored
May 27, 2014
tarafından
Zolnai Tamás
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Patching libgltf: the passed texture bitmaps are RGBA buffers
Change-Id: I53f6a97820da12e89d567e1bc10226fa27cafd84
üst
d9a1d217
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
UnpackedTarball_libgltf.mk
external/libgltf/UnpackedTarball_libgltf.mk
+1
-0
rgba_textures.patch
external/libgltf/patches/rgba_textures.patch
+12
-0
No files found.
external/libgltf/UnpackedTarball_libgltf.mk
Dosyayı görüntüle @
9c830b09
...
@@ -20,6 +20,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,libgltf,\
...
@@ -20,6 +20,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,libgltf,\
external/libgltf/patches/include_path_freetype.patch \
external/libgltf/patches/include_path_freetype.patch \
external/libgltf/patches/openmp-disable.patch \
external/libgltf/patches/openmp-disable.patch \
external/libgltf/patches/free_file_buffers.patch \
external/libgltf/patches/free_file_buffers.patch \
external/libgltf/patches/rgba_textures.patch \
))
))
# vim: set noet sw=4 ts=4:
# vim: set noet sw=4 ts=4:
external/libgltf/patches/rgba_textures.patch
0 → 100644
Dosyayı görüntüle @
9c830b09
diff -ur libgltf.org/src/Texture.cpp libgltf/src/Texture.cpp
--- libgltf.org/src/Texture.cpp 2014-05-27 16:40:18.625920865 +0200
+++ libgltf/src/Texture.cpp 2014-05-27 16:41:45.601917179 +0200
@@ -60,7 +60,7 @@
bool Texture::loadTexture2DFromBuffer(unsigned char* buffer, int width,
int height)
{
- GLenum format = GL_BGRA;
+ GLenum format = GL_RGBA;
createFromData(buffer, width, height, format, false);
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