mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 07:44:59 +00:00
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.
This commit is contained in:
parent
4568dcbb55
commit
cd7d2c3446
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ void NameAllocator::allocate(GLsizei count, GLuint* names)
|
||||||
m_free_names.pop();
|
m_free_names.pop();
|
||||||
} else {
|
} else {
|
||||||
// We're out of free previously allocated names. Let's allocate a new contiguous amount from the
|
// 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++;
|
names[i] = m_last_id++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue