浏览代码

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.
Stephan Unverwerth 2 年之前
父节点
当前提交
cd7d2c3446
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Userland/Libraries/LibGL/NameAllocator.cpp

+ 1 - 1
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++;
         }
     }