al_get_target_bitmap
ALLEGRO_BITMAP *al_get_target_bitmap(void)
Introduced in 5.0.0
Return the target bitmap of the calling thread.
See also: al_set_target_bitmap
Examples: ex_bitmap_flip, ex_blend, ex_blit, ex_draw, ex_font, ex_font_justify, ex_fs_resize, ex_joystick_events, ex_logo, ex_membmp, ex_native_filechooser, ex_pixelformat, ex_resize, ex_threads, ex_ttf
Most helpful discussions:
- [Allegro 5] How to return the current target bitmap? (1)
- fast put_pixels(again) or al_load_bitmap(void* data) (1)
- Mixing Allegro 5 with OPENGL
- Locking bitmap is slower than not (?)
- OpenGL Depth Buffer Problems
- Just bored... ;)
- al_destroy_display and cleaning up static memory
- Crash in al_set_target_bitmap
- Allegro 5 - Bitmap Deferred Corruption(?)
- [A5] Masked drawing?
Other recent discussions:
- Graphic slowdown with a very specific combination of options
- Choppy graphics
- Al_save_bitmap only saves a blank png
- al_draw_rectangle does different output between linux and windows
- [A5] Just Sharing a simple screen shot function
- Starting with allegro
- Trouble drawing scrolling background
- multiple definition of `_currentLevel'
- What does al_get_target_bitmap() return?
- Speeding up drawing from a tile atlas.