rem: glgfx_destroy_monitors();
add: int i; for (i = 0; i < 255; i+=2) { if (glgfx_bitmap_lock(bm, false, true)) { int* data = (int*) bm->locked_memory; int x, y;  for (y = 0; y < height; y+=10) { for (x = 0; x < width; x+=10) {  } } glgfx_bitmap_unlock(bm); }  glgfx_viewport_move(vp, 320 + i, 256, 100, 200+i);   glDrawBuffer(GL_BACK);  glClearColor( 0, 0, 0, 1.0); glClear(GL_COLOR_BUFFER_BIT); glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); glgfx_viewport_render(vp); glgfx_monitor_waittof(monitors[0]); }  glgfx_viewport_destroy(vp);
context: int main(int argc __attribute__((unused)), char** argv __attribute__((unused))) {  // If unset, sync to vblank as default (nvidia driver)  setenv("__GL_SYNC_TO_VBLANK", "1", False);/*   if (glopen()) { */    if (glgfx_create_monitors()) {      struct glgfx_bitmap* bm = glgfx_bitmap_create(100, 200, 24, 0, NULL,						    glgfx_pixel_r8g8b8a8, monitors[0]);      glgfx_bitmap_destroy(bm);            glgfx_destroy_monitors();    }/*   } */    return 0;}