Remove error spam on Intel, closes #8665
This commit is contained in:
parent
b7a2a40b8e
commit
47b34bf79b
2 changed files with 1 additions and 6 deletions
|
@ -1240,9 +1240,6 @@ void RasterizerCanvasGLES3::reset_canvas() {
|
||||||
//glLineWidth(1.0);
|
//glLineWidth(1.0);
|
||||||
glBindBuffer(GL_ARRAY_BUFFER, 0);
|
glBindBuffer(GL_ARRAY_BUFFER, 0);
|
||||||
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0);
|
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0);
|
||||||
for (int i = 0; i < VS::ARRAY_MAX; i++) {
|
|
||||||
glDisableVertexAttribArray(i);
|
|
||||||
}
|
|
||||||
|
|
||||||
glActiveTexture(GL_TEXTURE0);
|
glActiveTexture(GL_TEXTURE0);
|
||||||
glBindTexture(GL_TEXTURE_2D, storage->resources.white_tex);
|
glBindTexture(GL_TEXTURE_2D, storage->resources.white_tex);
|
||||||
|
|
|
@ -5447,9 +5447,7 @@ void RasterizerStorageGLES3::update_particles() {
|
||||||
|
|
||||||
glDisable(GL_RASTERIZER_DISCARD);
|
glDisable(GL_RASTERIZER_DISCARD);
|
||||||
|
|
||||||
for (int i = 0; i < 6; i++) {
|
|
||||||
glDisableVertexAttribArray(i);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
////////
|
////////
|
||||||
|
|
Loading…
Reference in a new issue