Sponsored Content
Full Discussion: xterminal
Special Forums UNIX Desktop Questions & Answers xterminal Post 27471 by mysth on Monday 2nd of September 2002 06:04:31 AM
Old 09-02-2002
...

But with the expansion RAM it has a total of 10MB.
and it is not running KDE, that is on the server, it just shows the graphic.
(that's what I was told)

I thought maybe the 2MB for Grafic would be too little, 'cause wenn i switch to desktop 2 it takes a long time, till it is loaded...

Smilie

thx for all the help
 
desktop_color_depth(3alleg4)					  Allegro manual				      desktop_color_depth(3alleg4)

NAME
desktop_color_depth - Finds out the desktop color depth. Allegro game programming library. SYNOPSIS
#include <allegro.h> int desktop_color_depth(); DESCRIPTION
Finds out the currently selected desktop color depth. You can use this information to make your program use the same color depth as the desktop, which will likely make it run faster because the graphic driver won't be doing unnecessary color conversions behind your back. Under some OSes, switching to a full screen graphics mode may automatically change the desktop color depth. You have, therefore, to call this function before setting any graphics mode in order to retrieve the real desktop color depth. Example: allegro_init(); ... if ((depth = desktop_color_depth()) != 0) { set_color_depth(depth); } RETURN VALUE
Returns the color depth or zero on platforms where this information is not available or does not apply. SEE ALSO
get_desktop_resolution(3alleg4), set_color_depth(3alleg4), set_gfx_mode(3alleg4) Allegro version 4.4.2 desktop_color_depth(3alleg4)
All times are GMT -4. The time now is 07:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy