Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 245400 Details for
Bug 140121
games-fps/kmquake2-0.19 (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
kmquake2-0.19.2-libpng14.patch
kmquake2-0.19.2-libpng14.patch (text/plain), 585 bytes, created by
Piotr Szymaniak
on 2010-08-30 19:10:32 UTC
(
hide
)
Description:
kmquake2-0.19.2-libpng14.patch
Filename:
MIME Type:
Creator:
Piotr Szymaniak
Created:
2010-08-30 19:10:32 UTC
Size:
585 bytes
patch
obsolete
>diff --git a/renderer/r_image.c b/renderer/r_image.c >index 40a7e7f..0c67a8f 100644 >--- a/renderer/r_image.c >+++ b/renderer/r_image.c >@@ -1127,7 +1127,11 @@ LoadPNG(char *filename, byte ** pic, int *width, int *height) > if (my_png->ColorType == PNG_COLOR_TYPE_PALETTE) > png_set_palette_to_rgb(png); > if (my_png->ColorType == PNG_COLOR_TYPE_GRAY && my_png->BitDepth < 8) >+ #if PNG_LIBPNG_VER >= 10209 >+ png_set_expand_gray_1_2_4_to_8(png); >+ #else > png_set_gray_1_2_4_to_8(png); >+ #endif > > /* Add alpha channel if present */ > if (png_get_valid(png, pnginfo, PNG_INFO_tRNS))
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 140121
:
91567
|
91573
|
91574
|
99259
|
99335
|
110024
|
110281
|
117897
|
118764
|
146695
|
146984
|
147118
|
147119
|
147121
|
147122
|
147128
|
147204
|
147217
|
147345
|
147346
|
147355
|
221113
|
221319
|
245123
|
245399
| 245400