Example #1
0
static bool raspberrypi_set_current_display(ALLEGRO_DISPLAY *d)
{
    (void)d;
// FIXME
    _al_ogl_update_render_state(d);
    return true;
}
Example #2
0
static bool xdpy_set_current_display(ALLEGRO_DISPLAY *d)
{
   bool rc;

   rc = xdpy_make_current(d);
   if (rc) {
      ALLEGRO_OGL_EXTRAS *ogl = d->ogl_extras;
      _al_ogl_set_extensions(ogl->extension_api);
      _al_ogl_update_render_state(d);
   }

   return rc;
}