summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-02-22 18:45:20 +0900
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-02-23 00:51:48 +0900
commitf1bef2cba2e6e4c0988b05306dd1435b8c0df3d5 (patch)
tree814afd1f91dca8e7c2c7a526b21fe23f2d074379
parent901b03e84dce21f4241375da179b2199a3162e0c (diff)
gallium: Countour MSVC's pickyness for structures returned by value.
-rw-r--r--src/gallium/auxiliary/cso_cache/cso_cache.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/cso_cache/cso_cache.h b/src/gallium/auxiliary/cso_cache/cso_cache.h
index 58664cdd94..b4f4f3ae41 100644
--- a/src/gallium/auxiliary/cso_cache/cso_cache.h
+++ b/src/gallium/auxiliary/cso_cache/cso_cache.h
@@ -36,16 +36,14 @@
#include "pipe/p_context.h"
#include "pipe/p_state.h"
+#include "cso_hash.h" /* for cso_hash_iter, as MSVC requires structures returned by value to be fully defined */
+
#ifdef __cplusplus
extern "C" {
#endif
-struct cso_hash;
-
-struct cso_hash_iter;
-
struct cso_cache {
struct cso_hash *blend_hash;
struct cso_hash *depth_stencil_hash;