small cleanup, remove some warnings

This commit is contained in:
Rune Petersen
2005-02-16 16:52:11 +00:00
parent 1ff8f50f2f
commit 8eeef423e9
6 changed files with 6 additions and 6 deletions
+1 -1
View 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;
+1
View 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
+1 -1
View 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... */
+2 -1
View 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)
{
-2
View 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__ */
+1 -1
View File
@@ -53,7 +53,7 @@ SOFTWARE.
#include "r300_swtcl.h"
*/
#include "r300_tex.h"
#include "r300_ioctl.h"
#include <unistd.h> /* for usleep() */
/**