gallium: set template.target = PIPE_TEXTURE_2D
This commit is contained in:
parent
b2021e7c06
commit
99df379b2c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue