Skip to content

Commit d7bfb4b

Browse files
committed
Fix converting a string constant to char*
1 parent 319918e commit d7bfb4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Layers/xrRenderPC_GL/rgl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ static inline void load_includes(LPCSTR pSrcData, UINT SrcDataLen, xr_vector<cha
761761

762762
struct SHADER_MACRO
763763
{
764-
char *Define = "#define ", *Name = "\n", *Sep = "\t", *Definition = "\n", *EOL = "\n";
764+
char const *Define = "#define ", *Name = "\n", *Sep = "\t", *Definition = "\n", *EOL = "\n";
765765
};
766766

767767
HRESULT CRender::shader_compile(

0 commit comments

Comments
 (0)