summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/unichrome/via_texcombine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_texcombine.c b/src/mesa/drivers/dri/unichrome/via_texcombine.c
index ccdde9709fc..b0afb57364e 100644
--- a/src/mesa/drivers/dri/unichrome/via_texcombine.c
+++ b/src/mesa/drivers/dri/unichrome/via_texcombine.c
@@ -237,7 +237,7 @@ viaTexCombineState( viaContextPtr vmesa,
*/
case GL_ADD:
case GL_SUBTRACT:
- if ( combine->ModeRGCb == GL_SUBTRACT ) {
+ if ( combine->ModeRGB == GL_SUBTRACT ) {
op |= HC_HTXnTBLCop_Sub;
}