04-25-2011
The driver needs the kernel sources because it actually creates elements specific to your kernel. I'm glad it worked for you.
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm on a Solaris box that doesn't have -o as an option for grep (trying to return match only).
Is there any way to get this functionality without the -o option?
I've tried both sed and awk doing something like:
echo "this is a test" | awk '/test/'
or
echo "this is a test | sed '/test/p'... (8 Replies)
Discussion started by: earnstaf
8 Replies
2. Cybersecurity
Hi There,
I wonder if any one can help me.
I want to transfer a file from one site to another over an encrypted link. I want to know if there will be any imcrease in the data that will travel on the link? For example, I want to transfer a 1 GB file from one site to another, using an encrypted... (4 Replies)
Discussion started by: ahmerin
4 Replies
3. Windows & DOS: Issues & Discussions
Hello all.
Can anyone tell me if there is any alternative to Window$ Media Player for LINUX(Linux Mint).
What am searching for is a player with sound processing capabilities.(Bass,Equaliser,SRS,Dolby,etc..)
Thanks. (1 Reply)
Discussion started by: coolatt
1 Replies
4. Red Hat
I installed rhel 6.0 in my laptop but it is not upporting 3d graphics of rhel6 and i am getting an error message
"Accelerated 3d graphics not available
Desktop effects require hardware 3D support."
my laptop is dll studio 1558 and my graphic card is ATI Radeon 5470 with 1 gb dedicated ram. (6 Replies)
Discussion started by: nileshgupta
6 Replies
5. Red Hat
Hi Folks!
I accidentally overwrote in /etc/fstab file. Can you guys please tell me, what impact it would have created, when I restarted the machine(RHEL6).
I executed this command :
# blkid /dev/vda5 > /etc/fstab (17 Replies)
Discussion started by: nixhead
17 Replies
6. Ubuntu
How will Full Disk encryption effect how open-source software is compiled and run using ubuntu 14.04. Are there alternatives that are recommended? Thank you :). (0 Replies)
Discussion started by: cmccabe
0 Replies
7. What is on Your Mind?
Does anyone know a way to remove filter effects from videos downloaded from YouTube or elsewhere, preferably with software that runs in Windows 7?
Thank you in anticipation. (1 Reply)
Discussion started by: quadphonic
1 Replies
LEARN ABOUT OPENDARWIN
create_light_table
create_light_table(3alleg4) Allegro manual create_light_table(3alleg4)
NAME
create_light_table - Fills a color mapping table for lighting effects. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
void create_light_table(COLOR_MAP *table, const PALETTE pal, int r, g, b, void (*callback)(int pos));
DESCRIPTION
Fills the specified color mapping table with lookup data for doing lighting effects with the specified palette. When combining the colors
c1 and c2 with this table, c1 is treated as a light level from 0-255. At light level 255 the table will output color c2 unchanged, at light
level 0 it will output the r, g, b value you specify to this function, and at intermediate light levels it will output a color somewhere
between the two extremes. The r, g, and b values are in the range 0-63.
This function will take advantage of the global rgb_ap variable to speed up color conversions. If the callback function is not NULL, it
will be called 256 times during the calculation, allowing you to display a progress indicator. Example:
COLOR_MAP light_table;
...
/* Build a color lookup table for lighting effects. */
create_light_table(&light_table, pal, 0, 0, 0, NULL);
SEE ALSO
color_map(3alleg4), create_trans_table(3alleg4), create_color_table(3alleg4), create_blender_table(3alleg4), draw_trans_sprite(3alleg4),
draw_lit_sprite(3alleg4), draw_gouraud_sprite(3alleg4), rgb_map(3alleg4), ex3d(3alleg4), exshade(3alleg4), extrans(3alleg4)
Allegro version 4.4.2 create_light_table(3alleg4)