minor changes to silence warnings
This commit is contained in:
@@ -185,7 +185,7 @@ i810CreateContext( const __GLcontextModes *mesaVis,
|
||||
12,
|
||||
I810_NR_TEX_REGIONS,
|
||||
imesa->sarea->texList,
|
||||
& imesa->sarea->texAge,
|
||||
(unsigned *) & imesa->sarea->texAge, /* XXX we shouldn't cast! */
|
||||
& imesa->swapped,
|
||||
sizeof( struct i810_texture_object_t ),
|
||||
(destroy_texture_object_t *) i810DestroyTexObj );
|
||||
@@ -327,7 +327,7 @@ i810DestroyContext(__DRIcontextPrivate *driContextPriv)
|
||||
assert( is_empty_list( & imesa->swapped ) );
|
||||
}
|
||||
|
||||
Xfree(imesa);
|
||||
FREE(imesa);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -245,7 +245,7 @@ GLboolean i830CreateContext( const __GLcontextModes *mesaVis,
|
||||
12,
|
||||
I830_NR_TEX_REGIONS,
|
||||
imesa->sarea->texList,
|
||||
& imesa->sarea->texAge,
|
||||
(unsigned) & imesa->sarea->texAge, /* XXX shouldn't need cast! */
|
||||
& imesa->swapped,
|
||||
sizeof( struct i830_texture_object_t ),
|
||||
(destroy_texture_object_t *) i830DestroyTexObj );
|
||||
@@ -415,7 +415,7 @@ void i830DestroyContext(__DRIcontextPrivate *driContextPriv)
|
||||
assert( is_empty_list( & imesa->swapped ) );
|
||||
}
|
||||
|
||||
Xfree (imesa);
|
||||
FREE(imesa);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -39,6 +39,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#include "api_arrayelt.h"
|
||||
#include "enums.h"
|
||||
#include "colormac.h"
|
||||
#include "light.h"
|
||||
|
||||
#include "swrast/swrast.h"
|
||||
#include "array_cache/acache.h"
|
||||
|
||||
@@ -38,6 +38,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#include "mtypes.h"
|
||||
|
||||
#include "array_cache/acache.h"
|
||||
#include "math/m_translate.h"
|
||||
#include "tnl/tnl.h"
|
||||
#include "tnl/t_pipeline.h"
|
||||
|
||||
|
||||
@@ -495,7 +495,7 @@ tdfxDestroyContext( __DRIcontextPrivate *driContextPriv )
|
||||
_mesa_destroy_context(fxMesa->glCtx);
|
||||
|
||||
/* free the tdfx context */
|
||||
XFree( fxMesa );
|
||||
FREE( fxMesa );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user