From 5477b289ac2007c0987fcd0bc35b4381becaa023 Mon Sep 17 00:00:00 2001 From: baldurk Date: Tue, 3 Jul 2018 15:27:06 +0100 Subject: [PATCH] Only warn if glBindFragDataLocation is not supported * This becomes very spammy and there's not much that can be done - we just have to hope the program bindings are not variable and end up the same on replay as they were on capture. --- renderdoc/driver/gl/gl_program_iterate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/renderdoc/driver/gl/gl_program_iterate.cpp b/renderdoc/driver/gl/gl_program_iterate.cpp index a62d44191..d52347828 100644 --- a/renderdoc/driver/gl/gl_program_iterate.cpp +++ b/renderdoc/driver/gl/gl_program_iterate.cpp @@ -868,7 +868,7 @@ void CopyProgramFragDataBindings(const GLHookSet &gl, GLuint progsrc, GLuint pro { // glBindFragDataLocation is not core GLES, but it is in GL_EXT_blend_func_extended // TODO what to do if that extension is not supported - RDCERR("glBindFragDataLocation is not supported!"); + RDCWARN("glBindFragDataLocation is not supported!"); } } } @@ -955,7 +955,7 @@ void SerialiseProgramBindings(SerialiserType &ser, CaptureState state, const GLH { // glBindFragDataLocation is not core GLES, but it is in GL_EXT_blend_func_extended // TODO what to do if that extension is not supported - RDCERR("glBindFragDataLocation is not supported!"); + RDCWARN("glBindFragDataLocation is not supported!"); } } }