diff --git a/wrap/glw/bookkeeping.h b/wrap/glw/bookkeeping.h index b0a554fc..68238c66 100644 --- a/wrap/glw/bookkeeping.h +++ b/wrap/glw/bookkeeping.h @@ -197,7 +197,7 @@ class SharedObjectBinding GLint unit(void) const { - return this->m_target; + return this->m_unit; } void ref(void)