summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2007-10-29 12:29:06 +0000
committerJosé Fonseca <[email protected]>2007-10-29 12:29:06 +0000
commit242b8659e40416f893157c7a0919964dabc957cf (patch)
tree42a4d452f70237a837c867464f59cd5c8b9b09c9 /src/mesa/drivers
parent1039a755142e2fd45dc291d891c514fdfa7e033c (diff)
Fix i915simple build.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/intel_winsys/intel_winsys_softpipe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/intel_winsys/intel_winsys_softpipe.c b/src/mesa/drivers/dri/intel_winsys/intel_winsys_softpipe.c
index 917e933641f..1660046f13a 100644
--- a/src/mesa/drivers/dri/intel_winsys/intel_winsys_softpipe.c
+++ b/src/mesa/drivers/dri/intel_winsys/intel_winsys_softpipe.c
@@ -46,8 +46,8 @@ struct intel_softpipe_winsys {
* Return list of surface formats supported by this driver.
*/
static const unsigned *
-intel_supported_formats(struct softpipe_winsys *sws,
- unsigned *numFormats)
+intel_is_format_supported(struct softpipe_winsys *sws,
+ unsigned *numFormats)
{
static const GLuint formats[] = {
PIPE_FORMAT_U_A8_R8_G8_B8,
@@ -69,7 +69,7 @@ intel_create_softpipe( struct intel_context *intel )
/* Fill in this struct with callbacks that softpipe will need to
* communicate with the window system, buffer manager, etc.
*/
- isws->sws.supported_formats = intel_supported_formats;
+ isws->sws.is_format_supported = intel_is_format_supported;
isws->intel = intel;
/* Create the softpipe context: