From 7cab70debac07e44a443ed01ff2ae558e0c0ba9d Mon Sep 17 00:00:00 2001 From: Ryan Huffman Date: Thu, 20 Apr 2017 23:17:42 -0700 Subject: [PATCH] Remove gl error logging --- libraries/gpu-gl/src/gpu/gl/GLBackendPipeline.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libraries/gpu-gl/src/gpu/gl/GLBackendPipeline.cpp b/libraries/gpu-gl/src/gpu/gl/GLBackendPipeline.cpp index 008b658205..1d1f92b297 100644 --- a/libraries/gpu-gl/src/gpu/gl/GLBackendPipeline.cpp +++ b/libraries/gpu-gl/src/gpu/gl/GLBackendPipeline.cpp @@ -259,9 +259,7 @@ void GLBackend::do_setResourceTexture(const Batch& batch, size_t paramOffset) { glActiveTexture(GL_TEXTURE0 + slot); glBindTexture(target, to); - if (CHECK_GL_ERROR()) { - qDebug() << "slot: " << slot << ", target: " << target << ", to: " << to; - } + (void) CHECK_GL_ERROR(); _resource._textures[slot] = resourceTexture;