al_init_primitives_addon
bool al_init_primitives_addon(void)
Introduced in 5.0.0
Initializes the primitives addon.
Returns: True on success, false on failure.
See also: al_shutdown_primitives_addon
Examples: ex_audio_props, ex_bitmap_target, ex_blend, ex_blend2, ex_blend_bench, ex_blend_test, ex_color, ex_display_options, ex_draw, ex_expose, ex_font_justify, ex_fs_resize, ex_fs_window, ex_gp2xwiz, ex_iphone, ex_joystick_events, ex_joystick_hotplugging, ex_lines, ex_logo, ex_mixer_pp, ex_mouse, ex_mouse_events, ex_multisample, ex_pixelformat, ex_prim, ex_resize, ex_stream_seek, ex_subbitmap, ex_synth, ex_threads, ex_timer, ex_transform, ex_ttf, ex_warp_mouse
Most helpful discussions:
- [A5] How do I use the addons? (1)
- Redrawing smoothly while display is being resized
- Allegro 5.2.2 Setup
- can't compile after installing
- Blacking out the display while resizing
- Drawing text slows down FPS dramatically
- Bitmap behind mappy map
- Statically link Allegro 5 in Ubuntu?
- [A5] Show & Hide window/display Cross-Platform ?
- Why some Shaders don't work !
Other recent discussions:
- Complications when drawing FPS
- Mixing Allegro 5 with OPENGL
- upgrading tank war codebase to allegro 5
- save display window as image(png,jpg)
- Font loading crashing with Allegro 5.2
- [A5] Drawing a textured trapezoid (2D)
- Allegro 5.2.0 released!
- Events are not working
- ALLEGRO 5.2, ERROR TO LOAD IMAGE!
- Why would al_install_audio() suddenly stop working?