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)
- Section of Code Lagging the Program
- Using Sine And Cosine For Rotation
- Shooting Ball From Rotating Bitmap
- A5 : timer issue
- Mouse Click Inside Timer Function
- A5 Fullscreen Vs Windowed
- al_load_bitmap question
- MOUSE question
- Having Trouble with exit(1) - Stalling Program
Other recent discussions:
- Vivace extra points. Its there a better way of doing this one.
- I'm new
- Allegro5 and OpenGL. Problem with drawing Allegro primitives
- 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?