248
249
fbc = select_fb_config(vo, glx_attribs, flags);
255
256
glx_ctx->vinfo = glXGetVisualFromFBConfig(vo->x11->display, fbc);
257
mp_msg(MSGT_VO, MSGL_V, "[gl] GLX chose visual with ID 0x%x\n",
260
264
glXGetFBConfigAttrib(vo->x11->display, fbc, GLX_RED_SIZE, &ctx->depth_r);
261
265
glXGetFBConfigAttrib(vo->x11->display, fbc, GLX_GREEN_SIZE, &ctx->depth_g);