diff --git a/framework/Source/Framebuffer.swift b/framework/Source/Framebuffer.swift index 1da61eb5..4af692a1 100755 --- a/framework/Source/Framebuffer.swift +++ b/framework/Source/Framebuffer.swift @@ -46,7 +46,7 @@ public class Framebuffer { public var timingStyle:FramebufferTimingStyle = .stillImage public var orientation:ImageOrientation - let texture:GLuint + public let texture:GLuint let framebuffer:GLuint? let stencilBuffer:GLuint? public let size:GLSize diff --git a/framework/Source/ShaderUniformSettings.swift b/framework/Source/ShaderUniformSettings.swift index 77a9c0ad..f67aed30 100644 --- a/framework/Source/ShaderUniformSettings.swift +++ b/framework/Source/ShaderUniformSettings.swift @@ -53,7 +53,7 @@ public struct ShaderUniformSettings { set(newValue) { uniformValues[index] = newValue } } - func restoreShaderSettings(_ shader:ShaderProgram) { + public func restoreShaderSettings(_ shader:ShaderProgram) { for (uniform, value) in uniformValues { switch value { case let value as Float: shader.setValue(GLfloat(value), forUniform:uniform)