mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
Make egl_error function part of the egl interface
The function may be useful for backends using egl.
This commit is contained in:
parent
e22626ef6a
commit
62b1421635
2 changed files with 2 additions and 1 deletions
|
|
@ -6,7 +6,7 @@
|
|||
#include "backend/egl.h"
|
||||
#include "common/log.h"
|
||||
|
||||
static const char *egl_error(void) {
|
||||
const char *egl_error(void) {
|
||||
switch (eglGetError()) {
|
||||
case EGL_SUCCESS:
|
||||
return "Success";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue