From: Dave Airlie Date: Fri, 13 Feb 2009 21:49:15 +0000 (+1000) Subject: radeon/r300: fix warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c0ae4d3c55a606ede41399e39e5221b1955ecc22;p=mesa.git radeon/r300: fix warnings --- diff --git a/src/mesa/drivers/dri/r300/r300_tex.h b/src/mesa/drivers/dri/r300/r300_tex.h index c4f42ee621c..baad3fe6c06 100644 --- a/src/mesa/drivers/dri/r300/r300_tex.h +++ b/src/mesa/drivers/dri/r300/r300_tex.h @@ -37,6 +37,9 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. extern void r300SetDepthTexMode(struct gl_texture_object *tObj); +extern void r300SetTexBuffer(__DRIcontext *pDRICtx, GLint target, + __DRIdrawable *dPriv); + extern void r300SetTexOffset(__DRIcontext *pDRICtx, GLint texname, unsigned long long offset, GLint depth, GLuint pitch); diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c index 21b94d2e527..086a2683e5b 100644 --- a/src/mesa/drivers/dri/radeon/radeon_screen.c +++ b/src/mesa/drivers/dri/radeon/radeon_screen.c @@ -357,9 +357,6 @@ static const __DRItexOffsetExtension r300texOffsetExtension = { r300SetTexOffset, }; -void r300SetTexBuffer(__DRIcontext *pDRICtx, - GLint target, - __DRIdrawable *dPriv); static const __DRItexBufferExtension r300TexBufferExtension = { { __DRI_TEX_BUFFER, __DRI_TEX_BUFFER_VERSION }, r300SetTexBuffer, diff --git a/src/mesa/drivers/dri/radeon/radeon_texture.c b/src/mesa/drivers/dri/radeon/radeon_texture.c index fe0031e3cdd..55dda29eaf9 100644 --- a/src/mesa/drivers/dri/radeon/radeon_texture.c +++ b/src/mesa/drivers/dri/radeon/radeon_texture.c @@ -31,6 +31,7 @@ #include "main/glheader.h" #include "main/imports.h" #include "main/context.h" +#include "main/convolve.h" #include "main/mipmap.h" #include "main/texcompress.h" #include "main/texformat.h"