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)
- Math question (2d trig)
- Multiple threads/displays, Event handling question
- Mipmap causing texture bleeding
- Crasehs when use primitive functions
- Difficulty compiling on Windows
- We must post bugs and squash them***
- Screen is cleared and a new one appears Allegro5 in C?
- Allegro Access Violation while Drawing
- Fedora 33 and allegro-devel install problem
Other recent discussions:
- help: memory bitmap background image causing artifacts
- Allegro color bitmap
- A little bit of fun for family and friends
- KrampusHack 2020: Odd Results With Color Mapping Functions
- help: how to use al_calculate_arc()
- Rendering A Hot Air Balloon
- The program crashes when drawing primitives
- Game Crashing and I'm not sure why?
- Windows: File Selection and Clipboard broken after unicode change
- al_init_primitives_addon is undefined VS2017 Nuget