Merge commit 'origin/openvg-1.0'
[mesa.git] / src / gallium / include / pipe / p_format.h
index e31538c95fcd67d31e97c2cc56934d7e550082d6..c4469d4a9e98a4fb3b604be7c3abe16160f9c02f 100644 (file)
@@ -563,7 +563,11 @@ pf_is_depth_and_stencil( enum pipe_format format )
 }
 
 /** DEPRECATED: For backwards compatibility */
-#define pf_is_depth_stencil pf_is_depth_or_stencil
+static INLINE boolean
+pf_is_depth_stencil( enum pipe_format format )
+{
+   return pf_is_depth_or_stencil( format );
+}
 
 static INLINE boolean 
 pf_is_compressed( enum pipe_format format )