Merged in ruslantproductengine/viewer-neko-ruslant-4-cr (pull request #60)
MAINT-5018 crashing when touching meshmeow-7.2.2
commit
0ac937200b
|
|
@ -448,7 +448,7 @@ void LLVertexBuffer::setupClientArrays(U32 data_mask)
|
|||
else
|
||||
{
|
||||
|
||||
GLenum array[] =
|
||||
static const GLenum array[] =
|
||||
{
|
||||
GL_VERTEX_ARRAY,
|
||||
GL_NORMAL_ARRAY,
|
||||
|
|
@ -456,7 +456,7 @@ void LLVertexBuffer::setupClientArrays(U32 data_mask)
|
|||
GL_COLOR_ARRAY,
|
||||
};
|
||||
|
||||
GLenum mask[] =
|
||||
static const GLenum mask[] =
|
||||
{
|
||||
MAP_VERTEX,
|
||||
MAP_NORMAL,
|
||||
|
|
|
|||
|
|
@ -6244,6 +6244,9 @@ void pushWireframe(LLDrawable* drawable)
|
|||
|
||||
void LLSelectNode::renderOneWireframe(const LLColor4& color)
|
||||
{
|
||||
//Need to because crash on ATI 3800 (and similar cards) MAINT-5018
|
||||
LLGLDisable multisample(LLPipeline::RenderFSAASamples > 0 ? GL_MULTISAMPLE_ARB : 0);
|
||||
|
||||
LLViewerObject* objectp = getObject();
|
||||
if (!objectp)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue