mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 10:57:36 +00:00
LibAccelGfx: Use wrapping functions with error check for OpenGL calls
This change introduces GL.h with error check wrappers for all the OpenGL functions we used so far. For now, the error check is simply: `VERIFY(glGetError() == GL_NO_ERROR);` but that is better than continuing execution after encounting an error.
This commit is contained in:
parent
da88d766b2
commit
048e179572
8 changed files with 313 additions and 130 deletions
|
@ -2,6 +2,7 @@ include(accelerated_graphics)
|
|||
|
||||
if (HAS_ACCELERATED_GRAPHICS)
|
||||
set(SOURCES
|
||||
GL.cpp
|
||||
Canvas.cpp
|
||||
Context.cpp
|
||||
Painter.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue