Hello All!
I create a PSDL_Surface like this:
Where FPixels is a dynamic array of Uint32. Now when I try to make a certain color transparent nothing happens.Code:FSurface := SDL_CreateRGBSurfaceFrom(@FPixels[0], FWidth, FHeight, 32, FWidth*SizeOf(FPixels[0]), rmask, gmask, bmask, amask);Anybody have any idea to why? Maybe even have some tutorial on how to do this sort of thing (I haven't found any myself).
Any help is really appreciated!
Bookmarks