|
|
@@ -98,11 +98,10 @@ bool Shader::BeginLoad(Deserializer& source)
|
|
|
CommentOutFunction(vsSourceCode_, "void PS(");
|
|
|
CommentOutFunction(psSourceCode_, "void VS(");
|
|
|
|
|
|
- // OpenGL: rename either VS() or PS() to main(), comment out vertex attributes in pixel shaders
|
|
|
+ // OpenGL: rename either VS() or PS() to main()
|
|
|
#ifdef URHO3D_OPENGL
|
|
|
vsSourceCode_.Replace("void VS(", "void main(");
|
|
|
psSourceCode_.Replace("void PS(", "void main(");
|
|
|
- psSourceCode_.Replace("attribute ", "// attribute ");
|
|
|
#endif
|
|
|
|
|
|
RefreshMemoryUse();
|