aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewerdisplay.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llviewerdisplay.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/linden/indra/newview/llviewerdisplay.cpp b/linden/indra/newview/llviewerdisplay.cpp
index 72e3d5c..ae23cb5 100644
--- a/linden/indra/newview/llviewerdisplay.cpp
+++ b/linden/indra/newview/llviewerdisplay.cpp
@@ -545,8 +545,7 @@ void display(BOOL rebuild, F32 zoom_factor, int subfield, BOOL for_snapshot)
545 545
546 BOOL to_texture = !for_snapshot && 546 BOOL to_texture = !for_snapshot &&
547 gPipeline.canUseVertexShaders() && 547 gPipeline.canUseVertexShaders() &&
548 LLPipeline::sRenderGlow && 548 LLPipeline::sRenderGlow;
549 gGLManager.mHasFramebufferObject;
550 549
551 // now do the swap buffer (just before rendering to framebuffer) 550 // now do the swap buffer (just before rendering to framebuffer)
552 { //swap and flush state from previous frame 551 { //swap and flush state from previous frame
@@ -893,8 +892,7 @@ void render_ui_and_swap()
893 892
894 { 893 {
895 BOOL to_texture = gPipeline.canUseVertexShaders() && 894 BOOL to_texture = gPipeline.canUseVertexShaders() &&
896 LLPipeline::sRenderGlow && 895 LLPipeline::sRenderGlow;
897 gGLManager.mHasFramebufferObject;
898 896
899 if (to_texture) 897 if (to_texture)
900 { 898 {