From: Antonino A. D. <ad...@ho...> - 2004-09-12 21:17:04
|
On Sunday 12 September 2004 22:36, Sven Luther wrote: > if (fix->visual == FB_VISUAL_TRUECOLOR || fix->visual == > FB_VISUAL_DIRECTCOLOR) depth = var->green.length + var->red.length + > var->blue.length; > else > depth = var->green.length > > instead. Hope this is ok. > Yes, that should cover most of the visuals. Tony |