projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11cea81
)
nv50: Fix include recursion.
author
Vinson Lee
<vlee@vmware.com>
Mon, 19 Apr 2010 07:05:57 +0000
(
00:05
-0700)
committer
Vinson Lee
<vlee@vmware.com>
Mon, 19 Apr 2010 07:05:57 +0000
(
00:05
-0700)
Don't include nv50_context.h and use a forward declaration instead.
nv50_context.h includes nv50_screen.h (itself).
src/gallium/drivers/nv50/nv50_screen.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nv50/nv50_screen.h
b/src/gallium/drivers/nv50/nv50_screen.h
index 092333a3b1081569a0114ef30186ea27b4e772da..40ebbee72e2e48e795e0de3e983a7d92dd1a7c2c 100644
(file)
--- a/
src/gallium/drivers/nv50/nv50_screen.h
+++ b/
src/gallium/drivers/nv50/nv50_screen.h
@@
-2,7
+2,8
@@
#define __NV50_SCREEN_H__
#include "nouveau/nouveau_screen.h"
-#include "nv50_context.h"
+
+struct nv50_context;
struct nv50_screen {
struct nouveau_screen base;