mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 07:38:10 +02:00
Silence a few warnings.
This commit is contained in:
parent
154335d53f
commit
b0fa489eba
3 changed files with 3 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue