Skip to content

Commit

Permalink
Fix converting a string constant to char*
Browse files Browse the repository at this point in the history
  • Loading branch information
q4a committed Sep 29, 2018
1 parent 319918e commit d7bfb4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Layers/xrRenderPC_GL/rgl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ static inline void load_includes(LPCSTR pSrcData, UINT SrcDataLen, xr_vector<cha

struct SHADER_MACRO
{
char *Define = "#define ", *Name = "\n", *Sep = "\t", *Definition = "\n", *EOL = "\n";
char const *Define = "#define ", *Name = "\n", *Sep = "\t", *Definition = "\n", *EOL = "\n";
};

HRESULT CRender::shader_compile(
Expand Down

0 comments on commit d7bfb4b

Please sign in to comment.