diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/glx/apple/apple_visual.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/glx/apple/apple_visual.c b/src/glx/apple/apple_visual.c index 238c24881c9..c6ede51e489 100644 --- a/src/glx/apple/apple_visual.c +++ b/src/glx/apple/apple_visual.c @@ -167,4 +167,9 @@ apple_visual_create_pfobj(CGLPixelFormatObj * pfobj, const struct glx_config * m fprintf(stderr, "error: %s\n", apple_cgl.error_string(error)); abort(); } + + if (!*pfobj) { + fprintf(stderr, "No matching pixelformats found, perhaps try using LIBGL_ALLOW_SOFTWARE\n"); + abort(); + } } |