diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2025-01-10 21:19:54 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2025-01-11 17:29:40 +0100 |
commit | b29e161488f0291f381f04e2533106321f357c1e (patch) | |
tree | 104eff44e62528c6069fc43d4f64b6af60656b86 /canvas/source | |
parent | e0935e73bb906fa143db349706466173ca11a626 (diff) |
make the ScanlineFormat values more explicit
instead of cleverly deciding that one format is actually another
format, depending on the current state of the supportsBitmap32()
call, just have explicit values that say what the actual format is.
This patch should have no functional affect, but will make
upcoming patches simpler.
Change-Id: I07f127a3e36800aa4cee034261c2e1216d8e8da1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180089
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'canvas/source')
-rw-r--r-- | canvas/source/directx/dx_vcltools.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/canvas/source/directx/dx_vcltools.cxx b/canvas/source/directx/dx_vcltools.cxx index 31b05be58e9c..9b0da87842a2 100644 --- a/canvas/source/directx/dx_vcltools.cxx +++ b/canvas/source/directx/dx_vcltools.cxx @@ -258,6 +258,10 @@ namespace dxcanvas::tools case ScanlineFormat::N32BitTcArgb: case ScanlineFormat::N32BitTcBgra: case ScanlineFormat::N32BitTcRgba: + case ScanlineFormat::N32BitTcXbgr: + case ScanlineFormat::N32BitTcXrgb: + case ScanlineFormat::N32BitTcBgrx: + case ScanlineFormat::N32BitTcRgbx: default: ENSURE_OR_THROW( false, "::dxcanvas::tools::bitmapFromVCLBitmapEx(): " |