| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/graphics/sdl_ttf/files/ |
Upload File : |
Description: Fix bug report "TTF_RenderGlyph_Shaded is broken"
Introduced in 2.0.11-2 (Sat, 03 Mar 2012).
Author: Unknown
Last-Update: 2012-03-03
Bug-Debian: http://bugs.debian.org/661987
Bug-Upstream: https://bugzilla.libsdl.org/show_bug.cgi?id=1433
--- SDL_ttf.c
+++ SDL_ttf.c
@@ -1752,7 +1752,7 @@
/* Copy the character from the pixmap */
src = glyph->pixmap.buffer;
dst = (Uint8*) textbuf->pixels;
- for ( row = 0; row < glyph->bitmap.rows; ++row ) {
+ for ( row = 0; row < glyph->pixmap.rows; ++row ) {
memcpy( dst, src, glyph->pixmap.width );
src += glyph->pixmap.pitch;
dst += textbuf->pitch;