Advertisement
Guest User

renderglyph_shaded.patch

a guest
Feb 12th, 2012
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.44 KB | None | 0 0
  1. --- SDL_ttf.c.orig  2012-02-12 16:36:41.859977617 +0100
  2. +++ SDL_ttf.c   2012-02-12 16:36:53.696580159 +0100
  3. @@ -1747,7 +1747,7 @@
  4.     /* Copy the character from the pixmap */
  5.     src = glyph->pixmap.buffer;
  6.     dst = (Uint8*) textbuf->pixels;
  7. -   for ( row = 0; row < glyph->bitmap.rows; ++row ) {
  8. +   for ( row = 0; row < glyph->pixmap.rows; ++row ) {
  9.         memcpy( dst, src, glyph->pixmap.width );
  10.         src += glyph->pixmap.pitch;
  11.         dst += textbuf->pitch;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement