diff options
Diffstat (limited to 'indra/llrender')
| -rwxr-xr-x | indra/llrender/llglheaders.h | 5 | ||||
| -rwxr-xr-x | indra/llrender/llrendertarget.cpp | 5 | 
2 files changed, 4 insertions, 6 deletions
| diff --git a/indra/llrender/llglheaders.h b/indra/llrender/llglheaders.h index dace572953..1bec6d376b 100755 --- a/indra/llrender/llglheaders.h +++ b/indra/llrender/llglheaders.h @@ -1009,12 +1009,7 @@ extern void glGetBufferPointervARB (GLenum, GLenum, GLvoid* *);  }  #endif -#if __MAC_OS_X_VERSION_MAX_ALLOWED <= 1070  #include <OpenGL/gl.h> -#else -#include <AGL/gl.h> -#endif -  #endif // LL_MESA / LL_WINDOWS / LL_DARWIN diff --git a/indra/llrender/llrendertarget.cpp b/indra/llrender/llrendertarget.cpp index 6e22712b94..873a20a0c1 100755 --- a/indra/llrender/llrendertarget.cpp +++ b/indra/llrender/llrendertarget.cpp @@ -252,12 +252,15 @@ bool LLRenderTarget::addColorAttachment(U32 color_fmt)  	mTex.push_back(tex);  	mInternalFormat.push_back(color_fmt); +#if !LL_DARWIN  	if (gDebugGL)  	{ //bind and unbind to validate target  		bindTarget();  		flush();  	} - +#endif +     +      	return true;  } | 
