summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Glisse <glisse@freedesktop.org>2008-02-08 18:47:25 +0100
committerJohn Doe <glisse@freedesktop.org>2008-02-08 18:47:25 +0100
commit21e9396e650d23084bfeae0d2670b5ffcf731a85 (patch)
tree180ec3cb89f0dfca7778c38c7f13236c57ce3174
parent2b6a31bfda319975b728930f019175611145ebb9 (diff)
intel_winsys: remove leftover code
-rw-r--r--src/mesa/drivers/dri/intel_winsys/intel_winsys_pipe.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/intel_winsys/intel_winsys_pipe.c b/src/mesa/drivers/dri/intel_winsys/intel_winsys_pipe.c
index 910c0d2cc5..789a386500 100644
--- a/src/mesa/drivers/dri/intel_winsys/intel_winsys_pipe.c
+++ b/src/mesa/drivers/dri/intel_winsys/intel_winsys_pipe.c
@@ -224,11 +224,6 @@ intel_i915_surface_alloc_storage(struct pipe_winsys *winsys,
if(!surf->buffer)
return -1;
- if(ret) {
- pipe_buffer_reference(winsys, &surf->buffer, NULL);
- return ret;
- }
-
return 0;
}