add GFX2_GLOBAL where forgotten.

So we avoid to have some so called "common" C symbols.
This commit is contained in:
Thomas Bernard
2018-01-21 23:16:28 +01:00
parent 350ca22f1e
commit e9b4392691
3 changed files with 13 additions and 11 deletions

View File

@@ -30,6 +30,7 @@
#include <SDL.h>
#include "struct.h"
#include "global.h"
///
/// This is the number of bytes in a video line for the current mode.
@@ -39,8 +40,8 @@
void Set_mode_SDL(int *,int *,int);
SDL_Rect ** List_SDL_video_modes;
byte* Screen_pixels;
GFX2_GLOBAL SDL_Rect ** List_SDL_video_modes;
GFX2_GLOBAL byte* Screen_pixels;
void Update_rect(short x, short y, unsigned short width, unsigned short height);
void Flush_update(void);