gl: update
authornotaz <notasas@gmail.com>
Wed, 14 May 2025 16:44:58 +0000 (19:44 +0300)
committernotaz <notasas@gmail.com>
Fri, 16 May 2025 13:12:14 +0000 (16:12 +0300)
commit64f9c546cb7e7c12bbaffab5993547e213a4f17d
treecb9720b356510caafe0ead04288b21249ab6428f
parent2607df8ab277d022cc8b432c2cff40e506b5db82
gl: update

- more error checking
- add a workaround for mesa compiled without OpenGL ES1.x (but with egl)
- don't leave half-initialized state (and just a black screen) on error
- clear texture memory, otherwise edges sometimes pick up noise from
  filtering taking garbage texels behind the edges
- allow to pass vertices to flip
- new clear function
gl.c
gl.h