added a third batch of GetChars call to FStrings.
This commit is contained in:
parent
89535b803a
commit
c94c63110e
31 changed files with 216 additions and 217 deletions
|
|
@ -39,7 +39,7 @@ CCMD (shaderenable)
|
|||
for (unsigned int i = 0; i < PostProcessShaders.Size(); i++)
|
||||
{
|
||||
PostProcessShader &shader = PostProcessShaders[i];
|
||||
if (strcmp(shader.Name, shaderName) == 0)
|
||||
if (shader.Name.Compare(shaderName) == 0)
|
||||
{
|
||||
if (value != -1)
|
||||
shader.Enabled = value;
|
||||
|
|
@ -70,7 +70,7 @@ CCMD (shaderuniform)
|
|||
for (unsigned int i = 0; i < PostProcessShaders.Size(); i++)
|
||||
{
|
||||
PostProcessShader &shader = PostProcessShaders[i];
|
||||
if (strcmp(shader.Name, shaderName) == 0)
|
||||
if (shader.Name.Compare(shaderName) == 0)
|
||||
{
|
||||
if (argv.argc() > 3)
|
||||
{
|
||||
|
|
@ -116,7 +116,7 @@ CCMD(listuniforms)
|
|||
for (unsigned int i = 0; i < PostProcessShaders.Size(); i++)
|
||||
{
|
||||
PostProcessShader &shader = PostProcessShaders[i];
|
||||
if (strcmp(shader.Name, shaderName) == 0)
|
||||
if (shader.Name.Compare(shaderName) == 0)
|
||||
{
|
||||
Printf("Shader '%s' uniforms:\n", shaderName);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue