mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-26 21:12:25 +00:00
glamor: Remove always-true yInverted flag.
All users of glamor had the same value set, and it complicated things for no reason. Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
d71ecbb458
commit
e310387f44
10 changed files with 104 additions and 256 deletions
|
|
@ -328,11 +328,6 @@ glamor_init(ScreenPtr screen, unsigned int flags)
|
|||
return FALSE;
|
||||
|
||||
glamor_priv->flags = flags;
|
||||
if (flags & GLAMOR_INVERTED_Y_AXIS) {
|
||||
glamor_priv->yInverted = TRUE;
|
||||
}
|
||||
else
|
||||
glamor_priv->yInverted = FALSE;
|
||||
|
||||
if (!dixRegisterPrivateKey(&glamor_screen_private_key, PRIVATE_SCREEN, 0)) {
|
||||
LogMessage(X_WARNING,
|
||||
|
|
|
|||
Loading…
Reference in a new issue