summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorStephan Unverwerth <s.unverwerth@serenityos.org>2022-08-28 10:23:37 +0200
committerAndrew Kaster <andrewdkaster@gmail.com>2022-12-17 22:39:09 -0700
commitcd7d2c344657a1926c74764c5216f582e78070a0 (patch)
tree1575e9548f49a07b58ebc5bc5ed60328e70e2344 /Userland
parent4568dcbb5572b6fb32294be63d15c7be9aa19586 (diff)
downloadserenity-cd7d2c344657a1926c74764c5216f582e78070a0.zip
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.
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Libraries/LibGL/NameAllocator.cpp2
1 files changed, 1 insertions, 1 deletions
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++;
}
}