mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
sis: Silence compiler warnings.
This commit is contained in:
parent
7e3825abdb
commit
a60457b03b
2 changed files with 2 additions and 2 deletions
|
|
@ -393,7 +393,6 @@ sis_clear_z_stencil_buffer( GLcontext * ctx, GLbitfield mask,
|
|||
GLint x, GLint y, GLint width, GLint height )
|
||||
{
|
||||
sisContextPtr smesa = SIS_CONTEXT(ctx);
|
||||
int cmd;
|
||||
|
||||
mWait3DCmdQueue (8);
|
||||
MMIO(REG_SRC_PITCH, (smesa->zFormat == SiS_ZFORMAT_Z16) ?
|
||||
|
|
|
|||
|
|
@ -430,7 +430,8 @@ do { \
|
|||
|
||||
#define LOCAL_VARS(n) \
|
||||
sisContextPtr smesa = SIS_CONTEXT(ctx); \
|
||||
GLuint color[n], spec[n]; \
|
||||
GLuint color[n] = { 0 }; \
|
||||
GLuint spec[n] = { 0 }; \
|
||||
GLuint coloroffset = smesa->coloroffset; \
|
||||
GLuint specoffset = smesa->specoffset; \
|
||||
(void) color; (void) spec; (void) coloroffset; (void) specoffset;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue