Lines 814-819
Link Here
|
814 |
buffer->base.width = width; |
814 |
buffer->base.width = width; |
815 |
buffer->base.height = height; |
815 |
buffer->base.height = height; |
816 |
buffer->num_planes = 2; |
816 |
buffer->num_planes = 2; |
|
|
817 |
memset(&buffer->surfaces, 0, sizeof(buffer->surfaces)); |
817 |
|
818 |
|
818 |
memset(&templ, 0, sizeof(templ)); |
819 |
memset(&templ, 0, sizeof(templ)); |
819 |
templ.target = PIPE_TEXTURE_2D; |
820 |
templ.target = PIPE_TEXTURE_2D; |