From cd7d2c344657a1926c74764c5216f582e78070a0 Mon Sep 17 00:00:00 2001 From: Stephan Unverwerth Date: Sun, 28 Aug 2022 10:23:37 +0200 Subject: [PATCH] LibGL: Remove Texture note leftovers from the NameAllocator class The NameAllocator class is not only about Textures, so let's change a comment being related to it. --- Userland/Libraries/LibGL/NameAllocator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibGL/NameAllocator.cpp b/Userland/Libraries/LibGL/NameAllocator.cpp index ccd9350e5a..3c5d0619ef 100644 --- a/Userland/Libraries/LibGL/NameAllocator.cpp +++ b/Userland/Libraries/LibGL/NameAllocator.cpp @@ -16,7 +16,7 @@ void NameAllocator::allocate(GLsizei count, GLuint* names) m_free_names.pop(); } else { // We're out of free previously allocated names. Let's allocate a new contiguous amount from the - // last known texture name + // last known id names[i] = m_last_id++; } }