Skip to content

Commit

Permalink
atari:xbios: Remove useless variable
Browse files Browse the repository at this point in the history
  • Loading branch information
pmandin committed Sep 27, 2017
1 parent cc74873 commit 21b5d1b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/video/xbios/SDL_xbios.c
Expand Up @@ -524,7 +524,6 @@ static SDL_Surface *XBIOS_SetVideoMode(_THIS, SDL_Surface *current,
#endif

this->UpdateRects = XBIOS_updRects;
XBIOS_recoffset = 2;

return (current);
}
Expand Down
3 changes: 1 addition & 2 deletions src/video/xbios/SDL_xbios.h
Expand Up @@ -36,7 +36,7 @@
typedef struct
{
Uint16 number; /* Video mode number */
Uint16 width; /* Size */
Uint16 width; /* Size */
Uint16 height;
Uint16 depth; /* bits per plane */
Uint16 flags;
Expand All @@ -56,7 +56,6 @@ struct SDL_PrivateVideoData {
void *shadowscreen; /* Shadow screen for c2p conversion */
int frame_number; /* Number of frame for double buffer */
int pitch; /* Destination line width for C2P */
int recalc_offset; /* Recalculate SDL_Surface offset for C2P */

xbiosmode_t *current; /* Current set mode */
int SDL_nummodes[NUM_MODELISTS];
Expand Down

0 comments on commit 21b5d1b

Please sign in to comment.