mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 14:53:50 +02:00
Shader Keywords Limit per log file
This commit is contained in:
@@ -160,6 +160,7 @@ namespace VRCX
|
||||
{
|
||||
try
|
||||
{
|
||||
ShaderKeywordsLimitReached = false;
|
||||
using (var stream = new FileStream(fileInfo.FullName, FileMode.Open, FileAccess.Read, FileShare.ReadWrite, 65536, FileOptions.SequentialScan))
|
||||
{
|
||||
stream.Position = logContext.Position;
|
||||
@@ -276,7 +277,6 @@ namespace VRCX
|
||||
location,
|
||||
logContext.RecentWorldName
|
||||
});
|
||||
ShaderKeywordsLimitReached = false;
|
||||
|
||||
return true;
|
||||
}
|
||||
@@ -385,12 +385,12 @@ namespace VRCX
|
||||
{
|
||||
// 2021.04.04 12:21:06 Error - Maximum number (256) of shader keywords exceeded, keyword _TOGGLESIMPLEBLUR_ON will be ignored.
|
||||
|
||||
if (string.Compare(line, offset, "Maximum number (256) of shader keywords exceeded", 0, 48, StringComparison.Ordinal) != 0)
|
||||
if (ShaderKeywordsLimitReached == true)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (ShaderKeywordsLimitReached == true)
|
||||
if (string.Compare(line, offset, "Maximum number (256) of shader keywords exceeded", 0, 48, StringComparison.Ordinal) != 0)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user