From: Mikko Rasa Date: Sat, 18 Sep 2021 12:57:24 +0000 (+0300) Subject: Use friend declarations to access OpenGL IDs of objects X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=commitdiff_plain;h=2e09b4f72f06537431151fe8b2574e1aa886ad48;hp=2e09b4f72f06537431151fe8b2574e1aa886ad48 Use friend declarations to access OpenGL IDs of objects This seems neater than exposing get_id() methods to the public. Texture2D::AsyncLoader still uses get_id() on the PBO for now, since it's not reasonably possible to name that class as a friend. ---