LibWeb: Fix WebGL getError

getError was just calling out to glGetError and never checking our
error value that we were maintaining ourselves.
This commit is contained in:
Undefine 2025-11-05 20:25:48 +01:00 committed by Andreas Kling
parent e7aeb71d29
commit 044ac2dd28
Notes: github-actions[bot] 2025-11-06 18:04:36 +00:00
3 changed files with 17 additions and 1 deletions

View file

@ -138,6 +138,7 @@ protected:
return result;
}
GLenum get_error_value();
void set_error(GLenum error);
// UNPACK_FLIP_Y_WEBGL of type boolean