Compare commits
1 Commits
AltCompile
...
V2MultiWea
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e7a49da774 |
@@ -170,7 +170,7 @@ BOOL LLVOWater::updateGeometry(LLDrawable *drawable)
|
||||
static const unsigned int indices_per_quad = 6;
|
||||
|
||||
static const LLCachedControl<bool> render_transparent_water("RenderTransparentWater",false);
|
||||
const S32 size = (render_transparent_water && !LLGLSLShader::sNoFixedFunction) ? 16 : 1;
|
||||
const S32 size = (render_transparent_water && LLGLSLShader::sNoFixedFunction) ? 16 : 1;
|
||||
const S32 num_quads = size * size;
|
||||
face->setSize(vertices_per_quad * num_quads,
|
||||
indices_per_quad * num_quads);
|
||||
|
||||
Reference in New Issue
Block a user