[Mesa-dev] [PATCH 07/15] Actually fill in the format of dumb buffers

Christopher James Halse Rogers christopher.halse.rogers at canonical.com
Sat Jul 20 04:40:39 PDT 2013


---
 src/gbm/backends/dri/gbm_dri.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backends/dri/gbm_dri.c
index 07d7145..8797069 100644
--- a/src/gbm/backends/dri/gbm_dri.c
+++ b/src/gbm/backends/dri/gbm_dri.c
@@ -480,6 +480,7 @@ create_dumb(struct gbm_device *gbm,
    if (ret)
       goto free_bo;
 
+   bo->base.base.format = format;
    bo->base.base.gbm = gbm;
    bo->base.base.width = width;
    bo->base.base.height = height;
-- 
1.8.3.2



More information about the mesa-dev mailing list