projects
/
metatoy
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
texture mapping and shading LUTs
[metatoy]
/
src
/
3dgfx
/
3dgfx.c
diff --git
a/src/3dgfx/3dgfx.c
b/src/3dgfx/3dgfx.c
index
64b7c0e
..
d465273
100644
(file)
--- a/
src/3dgfx/3dgfx.c
+++ b/
src/3dgfx/3dgfx.c
@@
-187,9
+187,9
@@
void g3d_viewport(int x, int y, int w, int h)
st->vport[3] = h;
}
-void g3d_clear_color(unsigned char r, unsigned char g, unsigned char b)
+void g3d_clear_color(int cidx)
{
- st->clear_color = find_color(r, g, b);
+ st->clear_color = cidx;
}
void g3d_clear_depth(float z)