Skip to content
Snippets Groups Projects
Commit 4f531da2 authored by Emil Velikov's avatar Emil Velikov
Browse files

Revert "i965: Momentarily pretend to support ARB_texture_stencil8 for blits."

This reverts commit 6811df8d.

Erroneous nomination. See mailing list for details.
parent e3e2a3e0
No related branches found
No related tags found
Loading
......@@ -414,12 +414,6 @@ brw_meta_stencil_blit(struct brw_context *brw,
GLenum target;
_mesa_meta_fb_tex_blit_begin(ctx, &blit);
/* XXX: Pretend to support stencil textures so _mesa_base_tex_format()
* returns a valid format. When we properly support the extension, we
* should remove this.
*/
assert(ctx->Extensions.ARB_texture_stencil8 == false);
ctx->Extensions.ARB_texture_stencil8 = true;
_mesa_GenFramebuffers(1, &fbo);
/* Force the surface to be configured for level zero. */
......@@ -457,7 +451,6 @@ brw_meta_stencil_blit(struct brw_context *brw,
_mesa_DrawArrays(GL_TRIANGLE_FAN, 0, 4);
error:
ctx->Extensions.ARB_texture_stencil8 = false;
_mesa_meta_fb_tex_blit_end(ctx, target, &blit);
_mesa_meta_end(ctx);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment