From a6b1a7c0d269256ffbaf2300710601cde8ac872c Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Tue, 30 Jul 2013 22:29:08 +0200 Subject: mesa: default DEPTH_TEXTURE_MODE should be RED in the core profile Cc: mesa-stable@lists.freedesktop.org Reviewed-by: Brian Paul Reviewed-by: Ian Romanick Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i915/intel_tex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers/dri/i915/intel_tex.c') diff --git a/src/mesa/drivers/dri/i915/intel_tex.c b/src/mesa/drivers/dri/i915/intel_tex.c index 6ac5a09b042..ce17395778e 100644 --- a/src/mesa/drivers/dri/i915/intel_tex.c +++ b/src/mesa/drivers/dri/i915/intel_tex.c @@ -39,7 +39,7 @@ intelNewTextureObject(struct gl_context * ctx, GLuint name, GLenum target) if (obj == NULL) return NULL; - _mesa_initialize_texture_object(&obj->base, name, target); + _mesa_initialize_texture_object(ctx, &obj->base, name, target); obj->needs_validate = true; -- cgit v1.2.3