Commit 745502af authored by Eric Anholt's avatar Eric Anholt Committed by Zhigang Gong

glamor: Add check for EXT_bgra which we rely on.

parent 6ce378f1
......@@ -181,6 +181,10 @@ glamor_init(ScreenPtr screen)
ErrorF("GL_ARB_pixel_buffer_object required\n");
goto fail;
if (!GLEW_EXT_bgra) {
ErrorF("GL_EXT_bgra required\n");
goto fail;
if (!RegisterBlockAndWakeupHandlers(glamor_block_handler,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment