Fix Apple M GPU crash from nans slipping into the normal buffer by utilizing a non-float format
parent
99ce597b54
commit
f8a0878c78
|
|
@ -346,7 +346,7 @@ void validate_framebuffer_object();
|
|||
bool addDeferredAttachments(LLRenderTarget& target, bool for_impostor = false)
|
||||
{
|
||||
U32 orm = GL_RGBA;
|
||||
U32 norm = GL_RGBA16F;
|
||||
U32 norm = GL_RGBA16;
|
||||
U32 emissive = GL_RGB16F;
|
||||
|
||||
static LLCachedControl<bool> has_emissive(gSavedSettings, "RenderEnableEmissiveBuffer", false);
|
||||
|
|
|
|||
Loading…
Reference in New Issue