projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad15866
)
remove unused NEED_TWO_SIDED_LIGHTING() macro
author
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 20 Jul 2006 03:56:16 +0000
(
03:56
+0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 20 Jul 2006 03:56:16 +0000
(
03:56
+0000)
src/mesa/main/context.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/context.h
b/src/mesa/main/context.h
index 9c6ef52079215644f66ad6e82bf95cd46d9721f8..b4d3a4750ba28672f8e4c1dd9cda80e24e24cbe9 100644
(file)
--- a/
src/mesa/main/context.h
+++ b/
src/mesa/main/context.h
@@
-307,12
+307,6
@@
do { \
-/**
- * Macros to help evaluate current state conditions
- */
-
-/*@{*/
-
/**
* Is the secondary color needed?
*/
@@
-327,14
+321,4
@@
do { \
)
-/**
- * Is two-sided lighting in effect?
- */
-#define NEED_TWO_SIDED_LIGHTING(CTX) \
- (ctx->Light.Enabled && ctx->Light.Model.TwoSide)
-
-
-/*@}*/
-
-
-#endif
+#endif /* CONTEXT_H */