From a52b3338c6e51421e3836ae210cd98d9c1ec337b Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Tue, 10 Apr 2012 21:29:06 +0200 Subject: u_vbuf: remove u_vbuf_resource --- src/gallium/auxiliary/util/u_vbuf.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/gallium/auxiliary/util/u_vbuf.h') diff --git a/src/gallium/auxiliary/util/u_vbuf.h b/src/gallium/auxiliary/util/u_vbuf.h index b5b7298b2cc..a17d64ae7ad 100644 --- a/src/gallium/auxiliary/util/u_vbuf.h +++ b/src/gallium/auxiliary/util/u_vbuf.h @@ -35,7 +35,6 @@ #include "pipe/p_context.h" #include "pipe/p_state.h" -#include "util/u_transfer.h" /* Hardware vertex fetcher limitations can be described by this structure. */ struct u_vbuf_caps { @@ -78,12 +77,6 @@ struct u_vbuf { void *vertex_elements; }; -/* XXX this is no longer needed and can be removed */ -struct u_vbuf_resource { - struct u_resource b; - uint8_t *user_ptr; -}; - enum u_fetch_alignment { U_VERTEX_FETCH_BYTE_ALIGNED, U_VERTEX_FETCH_DWORD_ALIGNED @@ -101,10 +94,4 @@ void u_vbuf_destroy(struct u_vbuf *mgr); unsigned u_vbuf_draw_max_vertex_count(struct u_vbuf *mgr); - -static INLINE struct u_vbuf_resource *u_vbuf_resource(struct pipe_resource *r) -{ - return (struct u_vbuf_resource*)r; -} - #endif -- cgit v1.2.3