summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerwindow.cpp
diff options
context:
space:
mode:
authorRunitai Linden <davep@lindenlab.com>2022-01-19 10:35:58 -0600
committerRunitai Linden <davep@lindenlab.com>2022-01-19 10:35:58 -0600
commit1a440be5e1760ac95e9a1ef43e5c74b768726826 (patch)
tree5cb1d3bfd24c01f2b3b1d34c8524943a1e0dcdfe /indra/newview/llviewerwindow.cpp
parent0da2ab228961f1e50c830121c37cfa77c431a980 (diff)
SL-16653 Fix for some textures having incorrect texel colors after the first row (and add more paranoia checks on texture data).
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
-rw-r--r--indra/newview/llviewerwindow.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp
index 2fc4e9d0bd..b9a5e90df0 100644
--- a/indra/newview/llviewerwindow.cpp
+++ b/indra/newview/llviewerwindow.cpp
@@ -2058,15 +2058,6 @@ std::string LLViewerWindow::getLastSnapshotDir()
void LLViewerWindow::initGLDefaults()
{
- gGL.setSceneBlendType(LLRender::BT_ALPHA);
-
- glPixelStorei(GL_PACK_ALIGNMENT,1);
- glPixelStorei(GL_UNPACK_ALIGNMENT,1);
-
- gGL.setAmbientLightColor(LLColor4::black);
-
- glCullFace(GL_BACK);
-
// RN: Need this for translation and stretch manip.
gBox.prerender();
}