diff options
author | Marek Olšák <[email protected]> | 2013-07-30 22:29:08 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-07-30 22:36:21 +0200 |
commit | a6b1a7c0d269256ffbaf2300710601cde8ac872c (patch) | |
tree | fb78573248919c368150df857ddf7c8cc3402ec6 /src/mesa/drivers/dri/i915 | |
parent | 63569dbeb0b33776043b141571700123b7cf6bf5 (diff) |
mesa: default DEPTH_TEXTURE_MODE should be RED in the core profile
Cc: [email protected]
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i915')
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_tex.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |