From 619b8a51bf46daeedf8e4157533ffe36477e940f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 27 Oct 2023 19:20:03 +0200 Subject: [PATCH] python: fix normalized signed VertexFormat enum values. Haha :/ --- src/python/magnum/magnum.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/python/magnum/magnum.cpp b/src/python/magnum/magnum.cpp index 17c4fe4..5963626 100644 --- a/src/python/magnum/magnum.cpp +++ b/src/python/magnum/magnum.cpp @@ -690,7 +690,7 @@ void magnum(py::module_& m) { .value("VECTOR2US", VertexFormat::Vector2us) .value("VECTOR2US_NORMALIZED", VertexFormat::Vector2usNormalized) .value("VECTOR2S", VertexFormat::Vector2s) - .value("VECTOR2S_NORMALIZED", VertexFormat::Vector2usNormalized) + .value("VECTOR2S_NORMALIZED", VertexFormat::Vector2sNormalized) .value("VECTOR2UI", VertexFormat::Vector2ui) .value("VECTOR2I", VertexFormat::Vector2i) .value("VECTOR3", VertexFormat::Vector3) @@ -703,7 +703,7 @@ void magnum(py::module_& m) { .value("VECTOR3US", VertexFormat::Vector3us) .value("VECTOR3US_NORMALIZED", VertexFormat::Vector3usNormalized) .value("VECTOR3S", VertexFormat::Vector3s) - .value("VECTOR3S_NORMALIZED", VertexFormat::Vector3usNormalized) + .value("VECTOR3S_NORMALIZED", VertexFormat::Vector3sNormalized) .value("VECTOR3UI", VertexFormat::Vector3ui) .value("VECTOR3I", VertexFormat::Vector3i) .value("VECTOR4", VertexFormat::Vector4) @@ -716,7 +716,7 @@ void magnum(py::module_& m) { .value("VECTOR4US", VertexFormat::Vector4us) .value("VECTOR4US_NORMALIZED", VertexFormat::Vector4usNormalized) .value("VECTOR4S", VertexFormat::Vector4s) - .value("VECTOR4S_NORMALIZED", VertexFormat::Vector4usNormalized) + .value("VECTOR4S_NORMALIZED", VertexFormat::Vector4sNormalized) .value("VECTOR4UI", VertexFormat::Vector4ui) .value("VECTOR4I", VertexFormat::Vector4i) .value("MATRIX2X2", VertexFormat::Matrix2x2)