static void emit_vec4(GLcontext * ctx,
struct r300_dma_region *rvb,
- char *data, int stride, int count)
+ GLvoid *data, int stride, int count)
{
int i;
int *out = (int *)(rvb->address + rvb->start);
static void emit_vec8(GLcontext * ctx,
struct r300_dma_region *rvb,
- char *data, int stride, int count)
+ GLvoid *data, int stride, int count)
{
int i;
int *out = (int *)(rvb->address + rvb->start);
static void emit_vec12(GLcontext * ctx,
struct r300_dma_region *rvb,
- char *data, int stride, int count)
+ GLvoid *data, int stride, int count)
{
int i;
int *out = (int *)(rvb->address + rvb->start);
static void emit_vec16(GLcontext * ctx,
struct r300_dma_region *rvb,
- char *data, int stride, int count)
+ GLvoid *data, int stride, int count)
{
int i;
int *out = (int *)(rvb->address + rvb->start);
static void emit_vector(GLcontext * ctx,
struct r300_dma_region *rvb,
- char *data, int size, int stride, int count)
+ GLvoid *data, int size, int stride, int count)
{
r300ContextPtr rmesa = R300_CONTEXT(ctx);
if(r300IsGartMemory(rmesa, data, size*stride)){
rvb->address = rmesa->radeon.radeonScreen->gartTextures.map;
- rvb->start = data - rvb->address;
+ rvb->start = (char *)data - rvb->address;
rvb->aos_offset = r300GartOffsetFromVirtual(rmesa, data);
if(stride == 0)