ReiquelApplegate

Results 43 comments of ReiquelApplegate

Is there code to recreate the issue?

The only function call in `al_draw_filled_rectangle `is to `al_draw_prim`.

What happens if you call: ` al_free(target);` right before the `return ret`; in `al_draw_prim`? Does the leak go away?

By WGL I suppose you mean https://learn.microsoft.com/en-us/windows/win32/opengl/wgl-functions ?

Not to mention this would be burning bridges with allegro contributors who come by to check up on how allegro is doing and see their names stamped out.

This has a decent chance of happening if someone is passing width/height variables and forgets to initialize them. I'd prefer a hard crash as infinite loops can be potentially dangerous...

What should the 64-bit function we're adding be called? al_draw_lprim for large/long?

I believer "the user" is third person. Also consider using "the caller" or "the programmer" to distinguish from the end-user.

So, perhaps all we have to do is add those manual calls to the examples?

`ALLEGRO_COLOR` is all floats, so rearranging the members shouldn't change `sizeof(ALLEGRO_VERTEX)` either