al_set_target_backbuffer
void al_set_target_backbuffer(ALLEGRO_DISPLAY *display)
Introduced in 5.0.0
Same as al_set_target_bitmap(al_get_backbuffer(display));
See also: al_set_target_bitmap, al_get_backbuffer
Examples: ex_bitmap_target, ex_blend_bench, ex_blend_test, ex_draw_bitmap, ex_dualies, ex_gldepth, ex_icon, ex_keyboard_focus, ex_lines, ex_lockbitmap, ex_mixer_pp, ex_mouse_cursor, ex_mouse_focus, ex_multisample, ex_opengl_pixel_shader, ex_prim, ex_rotate, ex_scale, ex_subbitmap, ex_transform, ex_windows, ex_winfull
Most helpful discussions:
- Drawing a bitmap in a class (1)
- Allegro 5.2.2 Setup
- KrampusHack 2016
- How to play video in allegro 5
- About shaders and ALLEGRO_BITMAPS
- [A5] Show & Hide window/display Cross-Platform ?
- Why some Shaders don't work !
- Change adapter un runtime
- Complications when drawing FPS
- Mixing Allegro 5 with OPENGL
Other recent discussions:
- Display stops updating if I change the backbuffer-- What am I doing wrong?
- Still trying to debug ManyMouse and al_set_target_bitmap
- Lighting using too much cpu
- Keyboard Interrupting on Mouse Positions?
- d3d_disp->render_target is NULL, segfault
- allegro 5 multi display drawing problems
- Image transition too slow !
- Blit to Android display
- Ludum Dare thread.
- Crash in al_set_target_bitmap