From: José Fonseca Date: Fri, 22 Feb 2008 09:45:20 +0000 (+0900) Subject: gallium: Countour MSVC's pickyness for structures returned by value. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f1bef2cba2e6e4c0988b05306dd1435b8c0df3d5;p=mesa.git gallium: Countour MSVC's pickyness for structures returned by value. --- diff --git a/src/gallium/auxiliary/cso_cache/cso_cache.h b/src/gallium/auxiliary/cso_cache/cso_cache.h index 58664cdd941..b4f4f3ae417 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;