Unified · Split
| @@ -203,7 +203,8 @@ static bool create_context(struct ra_ctx *ctx, EGLDisplay display, · 202 unmodified lines | ||
| 203 | 203 | } |
| 204 | 204 | |
| 205 | 205 | 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()); | |
| 207 | 208 | return false; |
| 208 | 209 | } |
| 209 | 210 | |