Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/volumetric_clouds/main.clj
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@

;; ### Compiling and linking shader programs
;;
;; The following method is used compile a shader program.
;; The following method is used to compile a shader.
(defn make-shader [source shader-type]
(let [shader (GL20/glCreateShader shader-type)]
(GL20/glShaderSource shader source)
Expand All @@ -687,7 +687,7 @@
(throw (Exception. (GL20/glGetShaderInfoLog shader 1024))))
shader))

;; The different shaders are then linked to become a shader program using the following method.
;; The different shaders are then linked to become a program using the following method.
(defn make-program [& shaders]
(let [program (GL20/glCreateProgram)]
(doseq [shader shaders]
Expand Down