Worked on Windows implementation and the quad-trees.
This commit is contained in:
parent
c33852e995
commit
56ab3ca590
4 changed files with 125 additions and 4 deletions
|
@ -131,6 +131,9 @@ SDL_ShapeTree* RecursivelyCalculateShapeTree(SDL_WindowShapeMode mode,SDL_Surfac
|
|||
case(2):
|
||||
pixel_value = *(Uint16*)pixel;
|
||||
break;
|
||||
case(3):
|
||||
pixel_value = *(Uint32*)pixel & (~mask->format->Amask);
|
||||
break;
|
||||
case(4):
|
||||
pixel_value = *(Uint32*)pixel;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue