mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-01 15:30:26 +01:00
intel: Silence several "warning: unused parameter"
Trivially silence the compiler by adding '(void) foo;' for each unused parameter. These parameters could not be removed. They are part of interface used elsewhere in Mesa, and some of the other customers actually use these parameters.
This commit is contained in:
parent
4d5c820b4f
commit
ed3040f3ba
1 changed files with 2 additions and 0 deletions
|
|
@ -24,6 +24,8 @@ intelNewTextureObject(struct gl_context * ctx, GLuint name, GLenum target)
|
|||
{
|
||||
struct intel_texture_object *obj = CALLOC_STRUCT(intel_texture_object);
|
||||
|
||||
(void) ctx;
|
||||
|
||||
DBG("%s\n", __FUNCTION__);
|
||||
_mesa_initialize_texture_object(&obj->base, name, target);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue