OpenGL Renderer:

- Fix regression from r4438 where the toon table didn't upload correctly.
This commit is contained in:
rogerman 2012-12-22 20:50:09 +00:00
parent fd5dc6a521
commit 3ced7f5c8b
1 changed files with 0 additions and 1 deletions

View File

@ -1080,7 +1080,6 @@ static void SetupPolygonRender(POLY *thePoly)
glActiveTexture(GL_TEXTURE1); glActiveTexture(GL_TEXTURE1);
glBindTexture(GL_TEXTURE_1D, oglToonTableTextureID); glBindTexture(GL_TEXTURE_1D, oglToonTableTextureID);
glTexImage1D(GL_TEXTURE_1D, 0, GL_RGB, 32, 0, GL_RGBA, GL_UNSIGNED_BYTE, newToonTable); glTexImage1D(GL_TEXTURE_1D, 0, GL_RGB, 32, 0, GL_RGBA, GL_UNSIGNED_BYTE, newToonTable);
glBindTexture(GL_TEXTURE_1D, 0);
toonTableNeedsUpdate = false; toonTableNeedsUpdate = false;
} }