diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-05-02 11:12:15 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-05-02 11:14:08 -0600 |
commit | 99df379b2c5b8e4e2ee7e5f2af864daf0a9eb1f7 (patch) | |
tree | 6399f64a40d49d985afda6a6ed63a646fcfedad7 | |
parent | b2021e7c06a9ec13b82eeeb352ad2408fe060518 (diff) |
gallium: set template.target = PIPE_TEXTURE_2D
-rw-r--r-- | src/mesa/state_tracker/st_cb_fbo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_fbo.c b/src/mesa/state_tracker/st_cb_fbo.c index cb5736f7c3..1fa82b07e6 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; |