Silence a few warnings.
This commit is contained in:
@@ -139,7 +139,7 @@ i915_max_texture_size(struct pipe_context *pipe, unsigned textureType,
|
||||
|
||||
|
||||
static int
|
||||
i915_get_param(struct pipe_context *pipe, uint param)
|
||||
i915_get_param(struct pipe_context *pipe, int param)
|
||||
{
|
||||
switch (param) {
|
||||
case PIPE_PARAM_FS_NEEDS_POS:
|
||||
|
||||
@@ -240,7 +240,7 @@ i915_update_texture(struct i915_context *i915, uint unit,
|
||||
|
||||
|
||||
{
|
||||
struct pipe_buffer_handle *p = driBOReference(mt->region->buffer);
|
||||
/*struct pipe_buffer_handle *p =*/ driBOReference(mt->region->buffer);
|
||||
}
|
||||
|
||||
#if 0
|
||||
|
||||
@@ -236,7 +236,7 @@ static const char *softpipe_get_vendor( struct pipe_context *pipe )
|
||||
return "Tungsten Graphics, Inc.";
|
||||
}
|
||||
|
||||
static int softpipe_get_param(struct pipe_context *pipe, uint param)
|
||||
static int softpipe_get_param(struct pipe_context *pipe, int param)
|
||||
{
|
||||
switch (param) {
|
||||
case PIPE_PARAM_FS_NEEDS_POS:
|
||||
|
||||
Reference in New Issue
Block a user