glamor: Add check for EXT_bgra which we rely on.

This commit is contained in:
Eric Anholt 2010-02-08 13:27:47 +01:00 committed by Zhigang Gong
parent 6ce378f11f
commit 745502af96

View File

@ -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,
glamor_wakeup_handler,