From ab7312ef63434d180eadad734b554f7210e3403b Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sun, 27 Feb 2005 07:43:18 +0000 Subject: [PATCH] precedence precedence precedence.. add some brackets --- src/mesa/drivers/dri/r200/r200_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/r200/r200_context.c b/src/mesa/drivers/dri/r200/r200_context.c index bc50f3de68e..de373ecc864 100644 --- a/src/mesa/drivers/dri/r200/r200_context.c +++ b/src/mesa/drivers/dri/r200/r200_context.c @@ -422,7 +422,7 @@ GLboolean r200CreateContext( const __GLcontextModes *glVisual, _math_matrix_set_identity( &rmesa->tmpmat ); driInitExtensions( ctx, card_extensions, GL_TRUE ); - if (!rmesa->r200Screen->chipset & R200_CHIPSET_YCBCR_BROKEN) { + if (!(rmesa->r200Screen->chipset & R200_CHIPSET_YCBCR_BROKEN)) { /* yuv textures don't work with some chips - R200 / rv280 okay so far others get the bit ordering right but don't actually do YUV-RGB conversion */ _mesa_enable_extension( ctx, "GL_MESA_ycbcr_texture" ); -- 2.30.2