summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/xlib/xm_surface.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-10-31 18:29:00 -0600
committerBrian <[email protected]>2007-10-31 18:29:00 -0600
commit4c7be3faa353aace2237b1f565bd42612002b65a (patch)
tree508c62d062eb96a03a02222aa6b5bf280f21242e /src/mesa/pipe/xlib/xm_surface.c
parent1103e9c3d0c3ba636837250eea3d50956a3b1e02 (diff)
Clean up xmesa winsys stuff
Plug xmesa_is_format_supported() into the softpipe_winsys object.
Diffstat (limited to 'src/mesa/pipe/xlib/xm_surface.c')
-rw-r--r--src/mesa/pipe/xlib/xm_surface.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/mesa/pipe/xlib/xm_surface.c b/src/mesa/pipe/xlib/xm_surface.c
index e7254d0d5af..b7e9d7811de 100644
--- a/src/mesa/pipe/xlib/xm_surface.c
+++ b/src/mesa/pipe/xlib/xm_surface.c
@@ -193,19 +193,6 @@ xmesa_surface_alloc(struct pipe_context *pipe, GLuint pipeFormat)
}
-boolean
-xmesa_is_format_supported(struct pipe_context *pipe, uint format)
-{
- switch( format ) {
- case PIPE_FORMAT_U_A8_R8_G8_B8:
- case PIPE_FORMAT_S_R16_G16_B16_A16:
- case PIPE_FORMAT_S8_Z24:
- return TRUE;
- };
- return FALSE;
-}
-
-
/**
* Called via pipe->clear()
*/