~ubuntu-branches/ubuntu/gutsy/usplash/gutsy

Viewing all changes in revision 73.

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2007-10-15 11:22:21 UTC
  • Revision ID: james.westby@ubuntu.com-20071015112221-otj7ntqfoq35anov
Tags: 0.5.7
usplash_svga.c, usplash_svga_text(): When running in 16bpp mode,
calling gl_setpixel() (which takes a palette index) does not make sense,
since we never set a palette (this happens only in 8bpp modes). Use
gl_setpixelrgb() in 16bpp mode and look up the RGB values from
vesa_palette, which is initialized from the theme. 

This repairs operation on i386 and amd4 where SGVA is used, so that text
appears in the color set by the theme, instead of being fixed to dark blue.
(LP: #64408)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: