aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/cxx/include/pugl
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/cxx/include/pugl')
-rw-r--r--bindings/cxx/include/pugl/pugl.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/bindings/cxx/include/pugl/pugl.hpp b/bindings/cxx/include/pugl/pugl.hpp
index dde29c8..b7d3d14 100644
--- a/bindings/cxx/include/pugl/pugl.hpp
+++ b/bindings/cxx/include/pugl/pugl.hpp
@@ -379,6 +379,12 @@ public:
const World& world() const noexcept { return _world; }
World& world() noexcept { return _world; }
+ /// @copydoc puglSetBackend
+ Status setBackend(const PuglBackend* backend) noexcept
+ {
+ return static_cast<Status>(puglSetBackend(cobj(), backend));
+ }
+
/// @copydoc puglSetViewHint
Status setHint(ViewHint hint, int value) noexcept
{
@@ -521,12 +527,6 @@ public:
/// @copydoc puglHasFocus
bool hasFocus() const noexcept { return puglHasFocus(cobj()); }
- /// @copydoc puglSetBackend
- Status setBackend(const PuglBackend* backend) noexcept
- {
- return static_cast<Status>(puglSetBackend(cobj(), backend));
- }
-
/// @copydoc puglSetCursor
Status setCursor(const Cursor cursor) noexcept
{