/* these can be plugins.. */
id = 1;
+ if (opts->render == USE_OPENGL) {
+ if (!dpy->glx.present) {
+ printf("cannot use OpenGL rendering, no glX found\n");
+ printf("using XRender instead\n");
+ opts->render = USE_RENDER;
+ }
+ }
+
if (opts->render == USE_RENDER)
render_init(sc, id++);
else