mirror of
https://github.com/overte-org/overte.git
synced 2025-08-05 13:15:11 +02:00
silences warning about deprecated conversion of string literal to char*
This commit is contained in:
parent
cf3e2635c1
commit
dc4dc887ac
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue