Mesa (master): mesa: Clean up header file inclusion in viewport.h.

Vinson Lee vlee at kemper.freedesktop.org
Tue Dec 7 08:38:05 UTC 2010


Module: Mesa
Branch: master
Commit: dda3ccba8c3e34320524d65292e98d34f03c4fa7
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dda3ccba8c3e34320524d65292e98d34f03c4fa7

Author: Vinson Lee <vlee at vmware.com>
Date:   Tue Dec  7 00:37:48 2010 -0800

mesa: Clean up header file inclusion in viewport.h.

---

 src/mesa/main/viewport.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/viewport.h b/src/mesa/main/viewport.h
index ccfa375..909ff92 100644
--- a/src/mesa/main/viewport.h
+++ b/src/mesa/main/viewport.h
@@ -28,7 +28,8 @@
 #define VIEWPORT_H
 
 #include "glheader.h"
-#include "mtypes.h"
+
+struct gl_context;
 
 extern void GLAPIENTRY
 _mesa_Viewport(GLint x, GLint y, GLsizei width, GLsizei height);




More information about the mesa-commit mailing list