Make I_SetWindowTitleHR parameter const

This commit is contained in:
Turo Lamminen 2018-03-31 16:44:30 +03:00
parent b64575b41b
commit 34edaa72f7
2 changed files with 3 additions and 3 deletions

View file

@ -32,7 +32,7 @@
static SDL_Window *hr_screen = NULL;
static SDL_Surface *hr_surface = NULL;
static char *window_title = "";
static const char *window_title = "";
boolean I_SetVideoModeHR(void)
{
@ -64,7 +64,7 @@ boolean I_SetVideoModeHR(void)
return true;
}
void I_SetWindowTitleHR(char *title)
void I_SetWindowTitleHR(const char *title)
{
window_title = title;
}

View file

@ -21,7 +21,7 @@
boolean I_SetVideoModeHR(void);
void I_UnsetVideoModeHR(void);
void I_SetWindowTitleHR(char *title);
void I_SetWindowTitleHR(const char *title);
void I_ClearScreenHR(void);
void I_SlamBlockHR(int x, int y, int w, int h, const byte *src);
void I_SlamHR(const byte *buffer);