summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/drm/vmware
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-02-02 14:43:48 +0000
committerJosé Fonseca <[email protected]>2010-02-02 14:43:48 +0000
commit38f6f23fcf37247fd709d1c612d08bfa9b124e69 (patch)
tree4cb5cf4a78a1470276cacd562b3c8ecb5112e244 /src/gallium/winsys/drm/vmware
parent28486880ca3ec39419ccee0cb1a3bedc9ef7117c (diff)
gallium: Make pipe_atomic a regular int32_t.
Diffstat (limited to 'src/gallium/winsys/drm/vmware')
-rw-r--r--src/gallium/winsys/drm/vmware/core/vmw_surface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/winsys/drm/vmware/core/vmw_surface.h b/src/gallium/winsys/drm/vmware/core/vmw_surface.h
index 340cc1532e0..718c38767b3 100644
--- a/src/gallium/winsys/drm/vmware/core/vmw_surface.h
+++ b/src/gallium/winsys/drm/vmware/core/vmw_surface.h
@@ -37,7 +37,7 @@
#include "pipe/p_compiler.h"
#include "pipe/p_atomic.h"
-#include "pipe/p_refcnt.h"
+#include "pipe/p_atomic.h"
#define VMW_MAX_PRESENTS 3
@@ -45,7 +45,7 @@
struct vmw_svga_winsys_surface
{
- struct pipe_atomic validated;
+ int32_t validated; /* atomic */
struct pipe_reference refcnt;
struct vmw_winsys_screen *screen;