[astromenace] 01/02: Add patch debian/patches/disable_GL_ARB_texture_compression_bptc.patch: After disabling GL_ARB_texture_storage in patch fix_work_on_intel_videocards.patch GL_ARB_texture_compression_bptc feature may work incorrectly with new NVIDIA and AMD video cards. There are no bug reports yet. This patch was made just in case by developer recommendation.
Boris Pek
tehnick at moszumanska.debian.org
Thu Dec 19 13:54:30 UTC 2013
This is an automated email from the git hooks/post-receive script.
tehnick pushed a commit to branch master
in repository astromenace.
commit 2bc7a159cd5f6aa6c67643340f8dc249d6bc8eb3
Author: Boris Pek <tehnick-8 at yandex.ru>
Date: Thu Dec 19 17:42:55 2013 +0400
Add patch debian/patches/disable_GL_ARB_texture_compression_bptc.patch:
After disabling GL_ARB_texture_storage in patch
fix_work_on_intel_videocards.patch GL_ARB_texture_compression_bptc feature
may work incorrectly with new NVIDIA and AMD video cards. There are no bug
reports yet. This patch was made just in case by developer recommendation.
---
.../disable_GL_ARB_texture_compression_bptc.patch | 28 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 29 insertions(+)
diff --git a/debian/patches/disable_GL_ARB_texture_compression_bptc.patch b/debian/patches/disable_GL_ARB_texture_compression_bptc.patch
new file mode 100644
index 0000000..01d8310
--- /dev/null
+++ b/debian/patches/disable_GL_ARB_texture_compression_bptc.patch
@@ -0,0 +1,28 @@
+Description: disable OpenGL extension GL_ARB_texture_compression_bptc
+ After disabling GL_ARB_texture_storage in patch fix_work_on_intel_videocards.patch
+ GL_ARB_texture_compression_bptc feature may work incorrectly with new NVIDIA and
+ AMD video cards. There are no bug reports yet. This patch was made just in case
+ by developer recommendation.
+Forwarded: not-needed
+Last-Update: 2013-12-19
+Author: Boris Pek <tehnick-8 at mail.ru>
+
+--- a/AstroMenaceSource/Core/RendererInterface/OGL_Main.cpp
++++ b/AstroMenaceSource/Core/RendererInterface/OGL_Main.cpp
+@@ -326,11 +326,11 @@ int vw_InitWindow(const char* Title, int Width, int Height, int *Bits, BOOL Full
+ OpenGL_DevCaps.TexturesCompression = true;
+ printf("Textures S3TC compression support enabled.\n");
+ }
+- if (ExtensionSupported("GL_ARB_texture_compression") && ExtensionSupported("GL_ARB_texture_compression_bptc"))
+- {
+- OpenGL_DevCaps.TexturesCompressionBPTC = true;
+- printf("Textures BPTC compression support enabled.\n");
+- }
++// if (ExtensionSupported("GL_ARB_texture_compression") && ExtensionSupported("GL_ARB_texture_compression_bptc"))
++// {
++// OpenGL_DevCaps.TexturesCompressionBPTC = true;
++// printf("Textures BPTC compression support enabled.\n");
++// }
+
+ // проверяем, есть ли поддержка OcclusionQuery
+ if (ExtensionSupported("GL_ARB_occlusion_query"))
diff --git a/debian/patches/series b/debian/patches/series
index b5f7714..8dd834e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ compress_gamedata.patch
debian_customisations.patch
enable_fontconfig_support.patch
fix_work_on_intel_videocards.patch
+disable_GL_ARB_texture_compression_bptc.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/astromenace.git
More information about the Pkg-games-commits
mailing list