Репозитории ALT
S: | 0.5.7-alt7 |
5.1: | 0.5.7-alt4 |
4.1: | 0.5.7-alt0.M41.1 |
4.0: | 0.5.5-alt1 |
3.0: | 0.5.3-alt1 |
Группа :: Игры/Аркады
Пакет: briquolo
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: briquolo-0.5.7-alt-libpng15.patch
Скачать
Скачать
diff --git a/briquolo/src/MOGL/MOGL_Image.cpp b/briquolo/src/MOGL/MOGL_Image.cpp
index 7d3159c..b146cb3 100644
--- a/briquolo/src/MOGL/MOGL_Image.cpp
+++ b/briquolo/src/MOGL/MOGL_Image.cpp
@@ -235,7 +235,7 @@ bool MOGL_Image::ChargerPNG(const char * p_NomFichier)
/* Expand grayscale images to the full 8 bits from 1, 2, or 4 bits/pixel */
if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
{
- png_set_gray_1_2_4_to_8(png_ptr);
+ png_set_expand_gray_1_2_4_to_8(png_ptr);
}
/* Expand paletted or RGB images with transparency to full alpha channels
diff --git a/briquolo/src/MOGL/MOGL_Image.h b/briquolo/src/MOGL/MOGL_Image.h
index b73ed7e..8817984 100644
--- a/briquolo/src/MOGL/MOGL_Image.h
+++ b/briquolo/src/MOGL/MOGL_Image.h
@@ -25,6 +25,8 @@
#include "MOGL_Structure.h"
#include <string>
+#define png_infopp_NULL (png_infopp)NULL
+
using namespace std;
class MOGL_Image