llvmpipe: Change return type of declaration to match code.
authorVinson Lee <vlee@vmware.com>
Tue, 20 Apr 2010 23:40:55 +0000 (16:40 -0700)
committerVinson Lee <vlee@vmware.com>
Tue, 20 Apr 2010 23:40:55 +0000 (16:40 -0700)
Commit 2142108e0e1cf1ed8d0142e9c41fe1947abe0907 changed the return type
of llvmpipe_get_texture_image_address function but didn't change the
declaration.

Fixes build.

src/gallium/drivers/llvmpipe/lp_texture.h

index 5862f979da6c8610f401bb9037df940eda6e8b40..858975bcee03ee60aed0959f4053a76199d96461 100644 (file)
@@ -189,7 +189,7 @@ void *
 llvmpipe_resource_data(struct pipe_resource *resource);
 
 
-void *
+ubyte *
 llvmpipe_get_texture_image_address(struct llvmpipe_resource *lpr,
                                     unsigned face_slice, unsigned level,
                                     enum lp_texture_layout layout);