From 424d635292d79dfaf7f9aba6350e493bc1b5ece9 Mon Sep 17 00:00:00 2001 From: drewcassidy Date: Sat, 3 Apr 2021 00:36:41 -0700 Subject: [PATCH] Fix interpolator container type --- quicktex/s3tc/interpolator/_bindings.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/quicktex/s3tc/interpolator/_bindings.cpp b/quicktex/s3tc/interpolator/_bindings.cpp index bed13a7..f7a7fe7 100644 --- a/quicktex/s3tc/interpolator/_bindings.cpp +++ b/quicktex/s3tc/interpolator/_bindings.cpp @@ -33,7 +33,7 @@ void InitInterpolator(py::module_ &s3tc) { auto interpolator = s3tc.def_submodule("_interpolator", "internal interpolator module"); // Interpolator - py::class_ ideal( + py::class_> ideal( interpolator, "Interpolator", R"doc( Interpolator base class representing the ideal interpolation mode, with no rounding for colors 2 and 3. This matches the `D3D10 docs`_ on BC1. @@ -42,7 +42,7 @@ void InitInterpolator(py::module_ &s3tc) { )doc"); // InterpolatorRound - py::class_ round(interpolator, "InterpolatorRound", ideal, R"doc( + py::class_> round(interpolator, "InterpolatorRound", ideal, R"doc( Base: :py:class:`~quicktex.s3tc.interpolator.Interpolator` Interpolator class representing the ideal rounding interpolation mode. @@ -52,14 +52,14 @@ void InitInterpolator(py::module_ &s3tc) { )doc"); // InterpolatorNvidia - py::class_ nvidia(interpolator, "InterpolatorNvidia", ideal, R"doc( + py::class_> nvidia(interpolator, "InterpolatorNvidia", ideal, R"doc( Base: :py:class:`~quicktex.s3tc.interpolator.Interpolator` Interpolator class representing the Nvidia GPU interpolation mode. )doc"); // InterpolatorAMD - py::class_ amd(interpolator, "InterpolatorAMD", ideal, R"doc( + py::class_> amd(interpolator, "InterpolatorAMD", ideal, R"doc( Base: :py:class:`~quicktex.s3tc.interpolator.Interpolator` Interpolator class representing the AMD GPU interpolation mode.