mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-05 04:40:11 +01:00
r300: Fixed "no previous prototype for 'r300RefillCurrentDmaRegion'" warning.
This commit is contained in:
parent
fc6b8f2d30
commit
7f08dd3fc6
1 changed files with 2 additions and 2 deletions
|
|
@ -389,7 +389,7 @@ void r300Flush(GLcontext * ctx)
|
|||
#ifdef USER_BUFFERS
|
||||
#include "radeon_mm.h"
|
||||
|
||||
void r300RefillCurrentDmaRegion(r300ContextPtr rmesa, int size)
|
||||
static void r300RefillCurrentDmaRegion(r300ContextPtr rmesa, int size)
|
||||
{
|
||||
struct r300_dma_buffer *dmabuf;
|
||||
size = MAX2(size, RADEON_BUFFER_SIZE*16);
|
||||
|
|
@ -503,7 +503,7 @@ void r300AllocDmaRegion(r300ContextPtr rmesa,
|
|||
}
|
||||
|
||||
#else
|
||||
void r300RefillCurrentDmaRegion(r300ContextPtr rmesa)
|
||||
static void r300RefillCurrentDmaRegion(r300ContextPtr rmesa)
|
||||
{
|
||||
struct r300_dma_buffer *dmabuf;
|
||||
int fd = rmesa->radeon.dri.fd;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue