66
65
/** Initialize the OpenGL backend, by trying to get a suitable GLX configuration.
68
66
*@param bForceOpenGL whether to force the use of OpenGL, or let the function decide.
69
67
*@return TRUE if OpenGL is usable.
73
71
#define cairo_dock_opengl_is_safe(...) (g_openglConfig.pGlConfig != NULL && ! g_openglConfig.bIndirectRendering && g_openglConfig.bAlphaAvailable && g_openglConfig.bStencilBufferAvailable) // bNonPowerOfTwoAvailable et FBO sont detectes une fois qu'on a un contexte OpenGL, on ne peut donc pas les inclure ici.
75
78
#define cairo_dock_deactivate_opengl(...) do {\