From: Brian Paul Date: Fri, 2 May 2008 17:12:15 +0000 (-0600) Subject: gallium: set template.target = PIPE_TEXTURE_2D X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=99df379b2c5b8e4e2ee7e5f2af864daf0a9eb1f7;p=mesa.git gallium: set template.target = PIPE_TEXTURE_2D --- diff --git a/src/mesa/state_tracker/st_cb_fbo.c b/src/mesa/state_tracker/st_cb_fbo.c index cb5736f7c3d..1fa82b07e68 100644 --- a/src/mesa/state_tracker/st_cb_fbo.c +++ b/src/mesa/state_tracker/st_cb_fbo.c @@ -116,6 +116,7 @@ st_renderbuffer_alloc_storage(GLcontext * ctx, struct gl_renderbuffer *rb, strb->Base.Height = height; init_renderbuffer_bits(strb, template.format); + template.target = PIPE_TEXTURE_2D; template.compressed = 0; template.cpp = pf_get_size(template.format); template.width[0] = width;