diff options
-rw-r--r-- | src/drivers/intel/gma/hires_fb/gma.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/intel/gma/hires_fb/gma.adb b/src/drivers/intel/gma/hires_fb/gma.adb index b1168acd4d..086da9b80f 100644 --- a/src/drivers/intel/gma/hires_fb/gma.adb +++ b/src/drivers/intel/gma/hires_fb/gma.adb @@ -83,7 +83,7 @@ is (Width => Width_Type (min_h), Height => Height_Type (min_v), BPC => 8, - Stride => ((Width_Type (min_h) + 63) / 64) * 64, + Stride => Div_Round_Up (Width_Type (min_h), 16) * 16, Offset => 0); for i in Pipe_Index loop exit when configs (i).Port = Disabled; |