projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1487b3e
)
fix lvalue cast on ctx->swtnl_im
author
Keith Whitwell
<keith@tungstengraphics.com>
Mon, 20 Nov 2000 13:39:36 +0000
(13:39 +0000)
committer
Keith Whitwell
<keith@tungstengraphics.com>
Mon, 20 Nov 2000 13:39:36 +0000
(13:39 +0000)
src/mesa/tnl/t_context.h
patch
|
blob
|
history
diff --git
a/src/mesa/tnl/t_context.h
b/src/mesa/tnl/t_context.h
index 992c2a58f9b83b14549b5ca157b76cc4c5d0caf8..3fb2bd99a82f8d3d01927efd45f58d6a3074c68a 100644
(file)
--- a/
src/mesa/tnl/t_context.h
+++ b/
src/mesa/tnl/t_context.h
@@
-1,5
+1,5
@@
-/* $Id: t_context.h,v 1.
1 2000/11/16 21:05:42
keithw Exp $ */
+/* $Id: t_context.h,v 1.
2 2000/11/20 13:39:36
keithw Exp $ */
/*
* Mesa 3-D graphics library
@@
-621,7
+621,7
@@
extern struct immediate *_mesa_CurrentInput;
#define GET_IMMEDIATE struct immediate *IM = _mesa_CurrentInput
#define SET_IMMEDIATE(ctx, im) \
do { \
-
TNL_CURRENT_IM(ctx) = im;
\
+
ctx->swtnl_im = (void *)im;
\
_mesa_CurrentInput = im; \
} while (0)
#endif