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)
- Section of Code Lagging the Program
- Display Mode removes window controls
- Problem with al_creat_bitmap
- A5 Fullscreen Vs Windowed
- Convert *bitmap to char buffer
- A shader that sets transparancy
- using a photo to floofill a bitmap
- ex_resize
Other recent discussions:
- Drawing antialiased primitives to bitmaps?
- Flickering border artifacts when using "al_set_clipping_rectangle"
- Error when drawing a scaled bitmap
- Transparancy Difference on windows and ubuntu
- 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