Skip to content

Commit

Permalink
Fix bug with alternate cameras and the VAO component class switching.
Browse files Browse the repository at this point in the history
  • Loading branch information
OrangeSpork committed Jan 9, 2022
1 parent 0dfb1de commit 0828cd8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Graphics/Shared/Graphics.cs
Expand Up @@ -26,7 +26,7 @@ public partial class Graphics : BaseUnityPlugin
{
public const string GUID = "ore.graphics";
public const string PluginName = "Graphics";
public const string Version = "0.5.0";
public const string Version = "0.5.1";

public static ConfigEntry<KeyCode> ConfigShortcut { get; private set; }
public static ConfigEntry<string> ConfigCubeMapPath { get; private set; }
Expand Down
4 changes: 2 additions & 2 deletions Graphics/Shared/VAO/VAOManager.cs
Expand Up @@ -38,7 +38,7 @@ public static void SwapInstance(VAOEffectCommandBuffer oldInstance, VAOEffectCom
UpdateSettings();
}

public static void RegisterAdditionalInstance(VAOEffect otherInstance)
public static void RegisterAdditionalInstance(VAOEffectCommandBuffer otherInstance)
{
if (!otherVAOInstances.Contains(otherInstance))
{
Expand All @@ -60,7 +60,7 @@ public static void UpdateSettings()

internal static void CopySettingsToOtherInstances()
{
foreach (VAOEffect otherInstance in otherVAOInstances)
foreach (VAOEffectCommandBuffer otherInstance in otherVAOInstances)
{
settings.Load(otherInstance);
}
Expand Down

0 comments on commit 0828cd8

Please sign in to comment.