al_restore_state
void al_restore_state(ALLEGRO_STATE const *state)
Introduced in 5.0.0
Restores part of the state of the current thread from the given ALLEGRO_STATE object.
See also: al_store_state, ALLEGRO_STATE_FLAGS
Examples: ex_blend2, ex_blend_bench, ex_blit, ex_clip, ex_draw, ex_logo, ex_threads
Most helpful discussions:
- [A5] Just Sharing a simple screen shot function (1)
- Allegro5 and OpenGL. Problem with drawing Allegro primitives
- [Help]Using Physfs for DataFiles
- Draw to bitmap failing
- Storing the clipping rectangle with al_store_state
- git format-patch: troubles with white space trailing
- video & physfs problems in the same file
- Good programmig practice light effects
- KrampusHack 2016
- Lightning with some light points
Other recent discussions:
- Mask / combine bitmaps
- Mode 7 graphics in Allegro 5...
- Scaled font print call?
- [a5] al_create_bitmap() not creating mipmap in OPENGL
- al_clone_bitmap() of backbuffer gives bad results with OGL
- Is this me or Allegro?!?
- Combining Allegro 5.1.8 with OpenGL culling problems
- [A5] What's the current, proper way to use both 2-D and 3-D functions
- Al_save_bitmap only saves a blank png
- Load bitmap from zip file