diff options
author | marha <marha@users.sourceforge.net> | 2011-05-02 06:49:56 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-05-02 06:49:56 +0000 |
commit | e8af1ef3142aaaf2d17f2d3710e23eee1baf8a61 (patch) | |
tree | 115901d752ba4f277ef82564bad209082f1feb2e /mesalib/src/mesa/state_tracker/st_atom_pixeltransfer.c | |
parent | e4dd9264ee8d4a20eef0eec8c8bf8cff2473b46f (diff) | |
parent | 34f1ddbb272a5ad55f56d54e2f861da6360db04f (diff) | |
download | vcxsrv-e8af1ef3142aaaf2d17f2d3710e23eee1baf8a61.tar.gz vcxsrv-e8af1ef3142aaaf2d17f2d3710e23eee1baf8a61.tar.bz2 vcxsrv-e8af1ef3142aaaf2d17f2d3710e23eee1baf8a61.zip |
svn merge ^/branches/released .
Diffstat (limited to 'mesalib/src/mesa/state_tracker/st_atom_pixeltransfer.c')
-rw-r--r-- | mesalib/src/mesa/state_tracker/st_atom_pixeltransfer.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/mesalib/src/mesa/state_tracker/st_atom_pixeltransfer.c b/mesalib/src/mesa/state_tracker/st_atom_pixeltransfer.c index e0a1cba2b..9b44d1a71 100644 --- a/mesalib/src/mesa/state_tracker/st_atom_pixeltransfer.c +++ b/mesalib/src/mesa/state_tracker/st_atom_pixeltransfer.c @@ -195,18 +195,8 @@ get_pixel_transfer_program(struct gl_context *ctx, const struct state_key *key) { STATE_INTERNAL, STATE_PT_SCALE, 0, 0, 0 };
static const gl_state_index bias_state[STATE_LENGTH] =
{ STATE_INTERNAL, STATE_PT_BIAS, 0, 0, 0 };
- GLfloat scale[4], bias[4];
GLint scale_p, bias_p;
- scale[0] = ctx->Pixel.RedScale;
- scale[1] = ctx->Pixel.GreenScale;
- scale[2] = ctx->Pixel.BlueScale;
- scale[3] = ctx->Pixel.AlphaScale;
- bias[0] = ctx->Pixel.RedBias;
- bias[1] = ctx->Pixel.GreenBias;
- bias[2] = ctx->Pixel.BlueBias;
- bias[3] = ctx->Pixel.AlphaBias;
-
scale_p = _mesa_add_state_reference(params, scale_state);
bias_p = _mesa_add_state_reference(params, bias_state);
|