mesa/st: Initialize format bits of framebuffer renderbuffers

Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
This commit is contained in:
Nicolai Hähnle 2009-09-12 12:13:35 +02:00
parent 9666529b5a
commit c4ce6f6a7c
1 changed files with 1 additions and 0 deletions

View File

@ -256,6 +256,7 @@ st_new_renderbuffer_fb(enum pipe_format format, int samples, boolean sw)
strb->Base.ClassID = 0x4242; /* just a unique value */
strb->Base.NumSamples = samples;
strb->format = format;
init_renderbuffer_bits(strb, format);
strb->software = sw;
switch (format) {