Skip to content

Commit

Permalink
Minor access level tweak.
Browse files Browse the repository at this point in the history
  • Loading branch information
BradLarson committed Jun 5, 2017
1 parent dc1863e commit 6c74051
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion framework/Source/Framebuffer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion framework/Source/ShaderUniformSettings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6c74051

Please sign in to comment.