diff --git a/src/PIL/DdsImagePlugin.py b/src/PIL/DdsImagePlugin.py index 08d6b839e..597666f61 100644 --- a/src/PIL/DdsImagePlugin.py +++ b/src/PIL/DdsImagePlugin.py @@ -171,7 +171,7 @@ class DXGI_FORMAT(IntEnum): NV12 = 103 P010 = 104 P016 = 105 - _420_OPAQUE = 106 + OPAQUE_420 = 106 YUY2 = 107 Y210 = 108 Y216 = 109