Prechádzať zdrojové kódy

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 rokov pred
rodič
commit
cd7d2c3446
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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();
             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++;
         }
         }
     }
     }