silences warning about deprecated conversion of string literal to char*

This commit is contained in:
tosh 2013-04-17 00:38:39 +02:00
parent cf3e2635c1
commit dc4dc887ac

View file

@ -38,7 +38,7 @@ float angle_to(glm::vec3 head_pos, glm::vec3 source_pos, float render_yaw, float
float randFloat();
void render_world_box();
void render_vector(glm::vec3 * vec);
int widthText(float scale, int mono, char *string);
int widthText(float scale, int mono, char const* string);
void drawtext(int x, int y, float scale, float rotate, float thick, int mono,
char const* string, float r=1.0, float g=1.0, float b=1.0);
void drawvec3(int x, int y, float scale, float rotate, float thick, int mono, glm::vec3 vec,