r300: fix compiler warnings

This commit is contained in:
Maciej Cencora 2009-05-02 17:37:20 +02:00 committed by Alex Deucher
parent cfc3ac8d6e
commit 14365aa0ef
4 changed files with 4 additions and 8 deletions

View file

@ -1,3 +1,5 @@
#include <drm/radeon_cs.h>
#ifndef RADEON_CS_WRAPPER_H
#define RADEON_CS_WRAPPER_H

View file

@ -62,6 +62,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "main/bufferobj.h"
#include "main/buffers.h"
#include "main/depth.h"
#include "main/polygon.h"
#include "main/shaders.h"
#include "main/texstate.h"
#include "main/varray.h"

View file

@ -261,14 +261,6 @@ static int cs_set_age(struct radeon_cs *cs)
return 0;
}
static void dump_cmdbuf(struct radeon_cs *cs)
{
int i;
for (i = 0; i < cs->cdw; i++){
fprintf(stderr,"%x: %08x\n", i, cs->packets[i]);
}
}
static int cs_emit(struct radeon_cs *cs)
{
struct cs_manager_legacy *csm = (struct cs_manager_legacy*)cs->csm;

View file

@ -38,6 +38,7 @@
#include "main/texstore.h"
#include "main/teximage.h"
#include "main/texobj.h"
#include "main/texgetimage.h"
#include "xmlpool.h" /* for symbolic values of enum-type options */