PascalGameDevelopment / SDL2-for-Pascal

Unit files for building Free Pascal and Delphi applications using the SDL2 library
https://pascalgamedevelopment.github.io/SDL2-for-Pascal/
Mozilla Public License 2.0
103 stars 20 forks source link

The function "SDL_PIXELFLAG" has incorrect name #130

Closed flowCRANE closed 11 months ago

flowCRANE commented 12 months ago

https://github.com/PascalGameDevelopment/SDL2-for-Pascal/blob/3feb4767eddce88219098f76d638890d069be671/units/sdl2.pas#L356-L359

This macro-function should be named SDL_PIXELFORMAT, since it is used to return the pixel format, one of the SDL_PIXELFORMAT_* values. Am I right?

Free-Pascal-meets-SDL-Website commented 11 months ago

Hi there,

thanks for the hint, but the naming is correct. This is how this macro is named in the original project headers.