Mesa (master): util: Clean up header file inclusion in u_upload_mgr.h.
Vinson Lee
vlee at kemper.freedesktop.org
Thu Aug 26 05:35:41 UTC 2010
Module: Mesa
Branch: master
Commit: c65c86cfe73e8cfd903b33a883266b7e08a71723
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c65c86cfe73e8cfd903b33a883266b7e08a71723
Author: Vinson Lee <vlee at vmware.com>
Date: Wed Aug 25 22:34:31 2010 -0700
util: Clean up header file inclusion in u_upload_mgr.h.
Remove p_defines.h.
Remove unnecessary forward declarations.
Add forward declaration for pipe_context.
---
src/gallium/auxiliary/util/u_upload_mgr.h | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/src/gallium/auxiliary/util/u_upload_mgr.h b/src/gallium/auxiliary/util/u_upload_mgr.h
index a124924..de016df 100644
--- a/src/gallium/auxiliary/util/u_upload_mgr.h
+++ b/src/gallium/auxiliary/util/u_upload_mgr.h
@@ -32,11 +32,8 @@
#ifndef U_UPLOAD_MGR_H
#define U_UPLOAD_MGR_H
-#include "pipe/p_defines.h"
-
-struct pipe_screen;
+struct pipe_context;
struct pipe_resource;
-struct u_upload_mgr;
struct u_upload_mgr *u_upload_create( struct pipe_context *pipe,
More information about the mesa-commit
mailing list