mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-13 10:00:43 +00:00
Remove commented-out code
This commit is contained in:
parent
0f39b825e1
commit
eb128e65a4
162 changed files with 2092 additions and 6594 deletions
|
@ -233,15 +233,7 @@ int TTFText::findLine(const std::string &label)
|
|||
|
||||
void TTFText::onRender()
|
||||
{
|
||||
/*
|
||||
glColor4f(0,0,0,0.5);
|
||||
glBegin(GL_QUADS);
|
||||
glVertex2f(-hw, h/2);
|
||||
glVertex2f(hw, h/2);
|
||||
glVertex2f(hw, -h/2);
|
||||
glVertex2f(-hw, -h/2);
|
||||
glEnd();
|
||||
*/
|
||||
|
||||
|
||||
for (int i = 0; i < text.size(); i++)
|
||||
{
|
||||
|
@ -268,12 +260,5 @@ void TTFText::onRender()
|
|||
RenderObject::lastTextureApplied = 0;
|
||||
|
||||
|
||||
/*
|
||||
glBindTexture(GL_TEXTURE_2D, 0);
|
||||
glLineWidth(2);
|
||||
glBegin(GL_LINES);
|
||||
glVertex2f(-hw, 5);
|
||||
glVertex2f(hw, 5);
|
||||
glEnd();
|
||||
*/
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue