[Mesa-dev] [PATCH] gallium: surface remove width/height removal comment

Dave Airlie airlied at gmail.com
Tue Jul 17 05:37:43 UTC 2018


From: Dave Airlie <airlied at redhat.com>

We do need width/height for things, remove the outdated
comment.
---
 src/gallium/include/pipe/p_state.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h
index 809aa087ce0..b55624d698d 100644
--- a/src/gallium/include/pipe/p_state.h
+++ b/src/gallium/include/pipe/p_state.h
@@ -435,7 +435,6 @@ struct pipe_surface
    struct pipe_resource *texture; /**< resource into which this is a view  */
    struct pipe_context *context; /**< context this surface belongs to */
 
-   /* XXX width/height should be removed */
    uint16_t width;               /**< logical width in pixels */
    uint16_t height;              /**< logical height in pixels */
 
-- 
2.17.1



More information about the mesa-dev mailing list