Make I_SetWindowTitleHR parameter const
This commit is contained in:
parent
b64575b41b
commit
34edaa72f7
2 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue