Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fix a couple of warnings
- Loading branch information
Showing
with
2 additions
and
2 deletions.
-
+1
−1
src/video/SDL_fillrect.c
-
+1
−1
src/video/x11/SDL_x11shape.c
|
@@ -274,7 +274,7 @@ static void |
|
|
SDL_FillRect2(Uint8 * pixels, int pitch, Uint32 color, int w, int h) |
|
|
{ |
|
|
int n; |
|
|
Uint8 *p = NULL; |
|
|
Uint16 *p = NULL; |
|
|
|
|
|
while (h--) { |
|
|
n = w; |
|
|
|
@@ -90,7 +90,7 @@ int |
|
|
X11_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode) { |
|
|
SDL_ShapeData *data = NULL; |
|
|
SDL_WindowData *windowdata = NULL; |
|
|
Pixmap shapemask = NULL; |
|
|
Pixmap shapemask; |
|
|
|
|
|
if(shaper == NULL || shape == NULL || shaper->driverdata == NULL) |
|
|
return -1; |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.