![]() |
|
The program crashes when drawing primitives |
Alexander Zhirov
Member #17,695
May 2020
![]() |
Hello! Here is a demonstration of the problem I don’t understand why this is happening. |
pmprog
Member #11,579
January 2010
![]() |
You aren't calling "al_init_primitives_addon" in your init routine. So I'm surprised it worked on any other platform. But try adding that to cl_load_allegro_resources()
|
Mark Oates
Member #1,146
March 2001
![]() |
You need to call al_init_primitives_addon. You've already included the primitives header it in your common.c, but it's not initialized with the rest of the services. -- |
Alexander Zhirov
Member #17,695
May 2020
![]() |
Yes indeed. How I did not see a mistake. My head is already cooking poorly. Thank you very much, added initialization and it worked for me. |
|