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)
- Using Sine And Cosine For Rotation
- Display Mode removes window controls
- Saving Bitmaps
- A5 : timer issue
- Convert *bitmap to char buffer
- Is using TTFs really that complicated?
- A shader that sets transparancy
- Allegro5 and OpenGL. Problem with drawing Allegro primitives
- Multiple layer scrolling problem
Other recent discussions:
- Fedora 33 and allegro-devel install problem
- help: memory bitmap background image causing artifacts
- Allegro color bitmap
- Same code - slow on Windows, fast on Linux - timer fires too slow?
- Performance plummets after changing screen mode
- Rendering A Hot Air Balloon
- 'wrap' a texture (in the shader I'd think)
- To get shaders going.
- [A5] Allegro display depth buffer?
- Icon on Mac