Petar Popovic

Results 9 comments of Petar Popovic

Not sure, if this helps with the issue, but I noticed that rendering in the code example is inside the event-polling loop: ``` while (game_state) { // game loop start...

The removal of `SDL_MIX_MAXVOLUME` should also be mentioned in `docs/README-migration.md` and added to `build-scripts/SDL_migration.cocci` and `include/SDL3/SDL_oldnames.h`: `SDL_MIX_MAXVOLUME` -> `1.0f`

I see `nodiscard` warnings as an equivalent to: "this function call makes no sense, if the return value is ignored". While a warning can be helpful for functions, returning an...

Please no lower-case `sdl`, this looks so wrong. :)

Is anyone else getting an error when using the patch file after this commit? ```bash plus: parse error: File "/path/to/SDL-git/build-scripts/SDL_migration.cocci", line 3195, column 5, charpos = 50532 around = 'f',...

My suggestion would be to replace the `+ 1.0f` with one of these: `+ 1` `+ 1.0` `+ ((float)1)` This would at least make the patch file work again until...

Just wanted to throw this in here. This is my reference for SDL. Maybe it can give you some ideas. Edit: I created this in LibreOffice Calc. Just checked how...

An entry in the Wiki about which C standard is used by SDL could be useful. Something like: > ### C Standard: > Building a project with SDL: C89 and...

You are absolutely right. My proposal to replace `SDL_GetPrefPath(org, app)` with an enum constant in `SDL_Folder` wasn't good. The main point I wanted to make was, that it could be...