mirror of
https://github.com/brl/mutter.git
synced 2025-02-20 06:54:10 +00:00

The script converted calls to COGL_FIXED_MUL(x,y) to (x*y). However this fails for cases like this: COGL_FIXED_MUL(a + b, c) which become (a + b * c) The meaning of this is of course different because multiplication has a higher precedence than addition. This was causing breakages in cogl_texture_quad_sw when the vertex coordinates are not in increasing order. This was the case in test-backface-culling when NPOTs are not available.