diff options
author | Dave Airlie <airliedfreedesktop.org> | 2005-03-05 06:38:59 +0000 |
---|---|---|
committer | Dave Airlie <airliedfreedesktop.org> | 2005-03-05 06:38:59 +0000 |
commit | 07561c6b32d55128222283a7450c65c95d21df59 (patch) | |
tree | 10cbb0da65bb26d71c5e2731efff465f1f685714 /src/mesa/drivers/dri/r128/server | |
parent | a4296239d41101ec778ef6cf998847d341433b72 (diff) |
Fixing memset on ia64 & other archs
From: Stephane Marchesin
Diffstat (limited to 'src/mesa/drivers/dri/r128/server')
-rw-r--r-- | src/mesa/drivers/dri/r128/server/r128_dri.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r128/server/r128_dri.c b/src/mesa/drivers/dri/r128/server/r128_dri.c index a2b717b0ea3..4cc3c23098f 100644 --- a/src/mesa/drivers/dri/r128/server/r128_dri.c +++ b/src/mesa/drivers/dri/r128/server/r128_dri.c @@ -47,6 +47,7 @@ #include "driver.h" #include "drm.h" +#include "memops.h" #include "r128.h" #include "r128_dri.h" @@ -826,11 +827,11 @@ static GLboolean R128DRIScreenInit(DRIDriverContext *ctx) * the clear ioctl to do this, but would need to setup hw state * first. */ - memset((char *)ctx->FBAddress + info->frontOffset, + drimemsetio((char *)ctx->FBAddress + info->frontOffset, 0, info->frontPitch * ctx->cpp * ctx->shared.virtualHeight ); - memset((char *)ctx->FBAddress + info->backOffset, + drimemsetio((char *)ctx->FBAddress + info->backOffset, 0, info->backPitch * ctx->cpp * ctx->shared.virtualHeight ); |