Module: Mesa
Branch: master
Commit: 559ed1a41d9aa0da5a61f606da2439905766f44a
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=559ed1a41d9aa0da5a61f606da2439905766f44a

Author: Ian Romanick <[email protected]>
Date:   Thu Aug 25 17:51:41 2011 -0700

dri: Silence several "warning: unused parameter"

---

 src/mesa/drivers/dri/common/depthtmp.h |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/mesa/drivers/dri/common/depthtmp.h 
b/src/mesa/drivers/dri/common/depthtmp.h
index 81bec9c..c6e2bb7 100644
--- a/src/mesa/drivers/dri/common/depthtmp.h
+++ b/src/mesa/drivers/dri/common/depthtmp.h
@@ -66,6 +66,8 @@ static void TAG(WriteDepthSpan)( struct gl_context *ctx,
 #endif
       }
    HW_WRITE_UNLOCK();
+
+   (void) ctx;
 }
 
 
@@ -120,6 +122,8 @@ static void TAG(WriteMonoDepthSpan)( struct gl_context *ctx,
         HW_ENDCLIPLOOP();
       }
    HW_WRITE_UNLOCK();
+
+   (void) ctx;
 }
 #endif
 
@@ -168,6 +172,8 @@ static void TAG(WriteDepthPixels)( struct gl_context *ctx,
 #endif
       }
    HW_WRITE_UNLOCK();
+
+   (void) ctx;
 }
 
 
@@ -238,6 +244,8 @@ static void TAG(ReadDepthPixels)( struct gl_context *ctx,
 #endif
       }
    HW_READ_UNLOCK();
+
+   (void) ctx;
 }
 
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to