mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
Fix an "overflow in implicit constant conversion" warning in mEndPrimitive when
more warning flags are enabled (such as in the DRI tree). Make the second line prettier, too. Reported by: ajax
This commit is contained in:
parent
8a41ead407
commit
932e6fb420
1 changed files with 2 additions and 2 deletions
|
|
@ -391,8 +391,8 @@ struct sis_context
|
|||
|
||||
#define mEndPrimitive() \
|
||||
{ \
|
||||
*(volatile char *)(smesa->IOBase + REG_3D_EndPrimitiveList) = 0xFF; \
|
||||
*(volatile GLint *)(smesa->IOBase + 0x8b60) = (GLint)(-1); \
|
||||
*(volatile GLubyte *)(smesa->IOBase + REG_3D_EndPrimitiveList) = 0xff; \
|
||||
*(volatile GLuint *)(smesa->IOBase + 0x8b60) = 0xffffffff; \
|
||||
}
|
||||
|
||||
#define sis_fatal_error(msg) \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue