summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/surface9.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/nine/surface9.h')
-rw-r--r--src/gallium/state_trackers/nine/surface9.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/gallium/state_trackers/nine/surface9.h b/src/gallium/state_trackers/nine/surface9.h
index 7d6932a0f17..aa586f37e3c 100644
--- a/src/gallium/state_trackers/nine/surface9.h
+++ b/src/gallium/state_trackers/nine/surface9.h
@@ -49,9 +49,6 @@ struct NineSurface9
uint8_t *data; /* system memory backing */
unsigned stride; /* for system memory backing */
-
- /* wine doesn't even use these, 2 will be enough */
- struct u_rect dirty_rects[2];
};
static INLINE struct NineSurface9 *
NineSurface9( void *data )
@@ -121,14 +118,9 @@ void
NineSurface9_AddDirtyRect( struct NineSurface9 *This,
const struct pipe_box *box );
-static INLINE void
-NineSurface9_ClearDirtyRects( struct NineSurface9 *This )
-{
- memset(&This->dirty_rects, 0, sizeof(This->dirty_rects));
-}
-
HRESULT
-NineSurface9_UploadSelf( struct NineSurface9 *This );
+NineSurface9_UploadSelf( struct NineSurface9 *This,
+ const struct pipe_box *damaged );
HRESULT
NineSurface9_CopySurface( struct NineSurface9 *This,