diff options
author | Brian Paul <[email protected]> | 2005-09-04 14:59:34 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-09-04 14:59:34 +0000 |
commit | f8cc27ecfc116b4480e2a6b83a4fdbfdcd078d26 (patch) | |
tree | 925c4fdca8c4fb08247339f23973f8e385ea20d1 /src/mesa/drivers/dri/common/spantmp.h | |
parent | 16f76703a54795377a4894be26cd5239f814417f (diff) |
Added InitPointers helper function
Diffstat (limited to 'src/mesa/drivers/dri/common/spantmp.h')
-rw-r--r-- | src/mesa/drivers/dri/common/spantmp.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/spantmp.h b/src/mesa/drivers/dri/common/spantmp.h index f726e83053d..d5608b88065 100644 --- a/src/mesa/drivers/dri/common/spantmp.h +++ b/src/mesa/drivers/dri/common/spantmp.h @@ -320,6 +320,16 @@ static void TAG(ReadRGBAPixels)( GLcontext *ctx, } +static void TAG(InitPointers)(struct gl_renderbuffer *rb) +{ + rb->PutRow = TAG(WriteRGBASpan); + rb->PutRowRGB = TAG(WriteRGBSpan); + rb->PutMonoRow = TAG(WriteMonoRGBASpan); + rb->PutValues = TAG(WriteRGBAPixels); + rb->PutMonoValues = TAG(WriteMonoRGBAPixels); + rb->GetValues = TAG(ReadRGBAPixels); + rb->GetRow = TAG(ReadRGBASpan); +} #undef WRITE_PIXEL |