[Shader Playground] Fix typos leaving XBOX undefined

This commit is contained in:
Triang3l 2020-04-18 13:06:21 +03:00 committed by GitHub
parent 58c104e0cc
commit 05399b1292
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -134,7 +134,7 @@ namespace shader_playground {
shaderSourceCode += "\ncnop";
var preprocessorDefines = new CompilerMacro[2];
preprocessorDefines[0].Name = "XBOX";
preprocessorDefines[0].Name = "XBOX360";
preprocessorDefines[1].Name = "XBOX360";
var includeHandler = new NopIncludeHandler();
var options = CompilerOptions.None;
var compiledShader = ShaderCompiler.AssembleFromSource(
@ -254,7 +254,7 @@ namespace shader_playground {
var shaderSourceCode = sourcePrefix + compilerSource;
var preprocessorDefines = new CompilerMacro[2];
preprocessorDefines[0].Name = "XBOX";
preprocessorDefines[0].Name = "XBOX360";
preprocessorDefines[1].Name = "XBOX360";
var includeHandler = new NopIncludeHandler();
var options = CompilerOptions.None;
var compiledShader = ShaderCompiler.AssembleFromSource(