From 47b34bf79be1ba2fe4a99c8931732efac68a0b87 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Thu, 15 Jun 2017 09:00:30 -0300 Subject: Remove error spam on Intel, closes #8665 --- drivers/gles3/rasterizer_canvas_gles3.cpp | 3 --- drivers/gles3/rasterizer_storage_gles3.cpp | 4 +--- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/gles3/rasterizer_canvas_gles3.cpp b/drivers/gles3/rasterizer_canvas_gles3.cpp index cc5967f7ce..e88687eb28 100644 --- a/drivers/gles3/rasterizer_canvas_gles3.cpp +++ b/drivers/gles3/rasterizer_canvas_gles3.cpp @@ -1240,9 +1240,6 @@ void RasterizerCanvasGLES3::reset_canvas() { //glLineWidth(1.0); glBindBuffer(GL_ARRAY_BUFFER, 0); glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); - for (int i = 0; i < VS::ARRAY_MAX; i++) { - glDisableVertexAttribArray(i); - } glActiveTexture(GL_TEXTURE0); glBindTexture(GL_TEXTURE_2D, storage->resources.white_tex); diff --git a/drivers/gles3/rasterizer_storage_gles3.cpp b/drivers/gles3/rasterizer_storage_gles3.cpp index ab5cea01dc..a38e149aff 100644 --- a/drivers/gles3/rasterizer_storage_gles3.cpp +++ b/drivers/gles3/rasterizer_storage_gles3.cpp @@ -5447,9 +5447,7 @@ void RasterizerStorageGLES3::update_particles() { glDisable(GL_RASTERIZER_DISCARD); - for (int i = 0; i < 6; i++) { - glDisableVertexAttribArray(i); - } + } //////// -- cgit v1.2.3