small cleanup, remove some warnings
authorRune Petersen <rune@megahurts.dk>
Wed, 16 Feb 2005 16:52:11 +0000 (16:52 +0000)
committerRune Petersen <rune@megahurts.dk>
Wed, 16 Feb 2005 16:52:11 +0000 (16:52 +0000)
src/mesa/drivers/dri/r300/r300_ioctl.c
src/mesa/drivers/dri/r300/r300_maos.c
src/mesa/drivers/dri/r300/r300_render.c
src/mesa/drivers/dri/r300/r300_state.c
src/mesa/drivers/dri/r300/r300_tex.h
src/mesa/drivers/dri/r300/r300_texmem.c

index 8b02206..e8e044e 100644 (file)
@@ -370,7 +370,7 @@ void r300Flush(GLcontext * ctx)
 
 void r300RefillCurrentDmaRegion(r300ContextPtr rmesa)
 {
-       struct r200_dma_buffer *dmabuf;
+       struct r300_dma_buffer *dmabuf;
        int fd = rmesa->radeon.dri.fd;
        int index = 0;
        int size = 0;
index 7d840f3..e4ea676 100644 (file)
@@ -48,6 +48,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 #include "radeon_ioctl.h"
 #include "r300_state.h"
 #include "r300_maos.h"
+#include "r300_ioctl.h"
 
 #define DEBUG_ALL DEBUG_VERTS
 
index f7e3f7a..b66fa3f 100644 (file)
@@ -55,7 +55,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
 #include "r300_reg.h"
 #include "r300_program.h"
 #include "r300_tex.h"
-
+#include "r300_maos.h"
 #include "r300_emit.h"
 
 /* Turns out we might not need this after all... */
index 94324b3..2c42ee1 100644 (file)
@@ -59,7 +59,8 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 #include "r300_program.h"
 #include "r300_emit.h"
 #include "r300_fixed_pipelines.h"
-
+#include "r300_tex.h"
+#include "r300_maos.h"
 
 static void r300AlphaFunc(GLcontext * ctx, GLenum func, GLfloat ref)
 {
index 38dd1bb..a18ff0e 100644 (file)
@@ -47,7 +47,5 @@ extern void r300DestroyTexObj(r300ContextPtr rmesa, r300TexObjPtr t);
 
 extern void r300InitTextureFuncs(struct dd_function_table *functions);
 
-extern void r300UpdateTextureState(GLcontext * ctx);
-
 #endif
 #endif                         /* __r300_TEX_H__ */
index 3cfa479..b32812e 100644 (file)
@@ -53,7 +53,7 @@ SOFTWARE.
 #include "r300_swtcl.h"
 */
 #include "r300_tex.h"
-
+#include "r300_ioctl.h"
 #include <unistd.h>            /* for usleep() */
 
 /**