diff options
author | Brian Paul <[email protected]> | 2000-06-26 23:37:46 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-06-26 23:37:46 +0000 |
commit | de82d063d4dfaaec06d01a51b1a5b811c61712aa (patch) | |
tree | e48b65b64d906c0c762a9b9fbf2c600a1d48d958 /src/mesa/main/light.h | |
parent | daf3778e86dce7c52fbf4db48f62e3e80ed73815 (diff) |
updating mat ambient/emissive was broke. always compute ctx->EyeZDir
Diffstat (limited to 'src/mesa/main/light.h')
-rw-r--r-- | src/mesa/main/light.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/light.h b/src/mesa/main/light.h index fc1ed0be673..f5ca08f84ed 100644 --- a/src/mesa/main/light.h +++ b/src/mesa/main/light.h @@ -1,10 +1,10 @@ -/* $Id: light.h,v 1.2 1999/11/11 01:22:27 brianp Exp $ */ +/* $Id: light.h,v 1.3 2000/06/26 23:37:46 brianp Exp $ */ /* * Mesa 3-D graphics library * Version: 3.3 * - * Copyright (C) 1999 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2000 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -115,7 +115,7 @@ extern void gl_compute_light_positions( GLcontext *ctx ); extern void gl_update_normal_transform( GLcontext *ctx ); extern void gl_update_material( GLcontext *ctx, - struct gl_material *m, + const struct gl_material src[2], GLuint bitmask ); extern void gl_update_color_material( GLcontext *ctx, const GLubyte rgba[4] ); |