mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 17:50:12 +01:00
fix lvalue cast on ctx->swtnl_im
This commit is contained in:
parent
1487b3ea3e
commit
2ac294e67f
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
* Mesa 3-D graphics library
|
||||||
|
|
@ -621,7 +621,7 @@ extern struct immediate *_mesa_CurrentInput;
|
||||||
#define GET_IMMEDIATE struct immediate *IM = _mesa_CurrentInput
|
#define GET_IMMEDIATE struct immediate *IM = _mesa_CurrentInput
|
||||||
#define SET_IMMEDIATE(ctx, im) \
|
#define SET_IMMEDIATE(ctx, im) \
|
||||||
do { \
|
do { \
|
||||||
TNL_CURRENT_IM(ctx) = im; \
|
ctx->swtnl_im = (void *)im; \
|
||||||
_mesa_CurrentInput = im; \
|
_mesa_CurrentInput = im; \
|
||||||
} while (0)
|
} while (0)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue