mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
r300: fix compiler warnings
This commit is contained in:
parent
cfc3ac8d6e
commit
14365aa0ef
4 changed files with 4 additions and 8 deletions
|
|
@ -1,3 +1,5 @@
|
|||
#include <drm/radeon_cs.h>
|
||||
|
||||
#ifndef RADEON_CS_WRAPPER_H
|
||||
#define RADEON_CS_WRAPPER_H
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue