History

video/egl_helpers: log error for eglCreateContext

sfan5 committed 2 years ago

Commit b3ca6001 parent 91489c91 file · +2 −1Browse files

Unified · Split

video/out/opengl/egl_helpers.c+2−1
@@ -203,7 +203,8 @@ static bool create_context(struct ra_ctx *ctx, EGLDisplay display, · 202 unmodified lines
203203 }
204204
205205 if (!egl_ctx) {
206− MP_MSG(ctx, msgl, "Could not create EGL context for %s!\n", name);
206+ MP_MSG(ctx, msgl, "Could not create EGL context for %s (error=%d)!\n",
207+ name, eglGetError());
207208 return false;
208209 }
209210

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t