Skip to content

Commit 0d6fe56

Browse files
authored
Merge pull request #307 from wedesoft/volumetric-clouds-6
Minor fixes to explanation of shaders and programs
2 parents f0c632c + 7357856 commit 0d6fe56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/volumetric_clouds/main.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@
678678

679679
;; ### Compiling and linking shader programs
680680
;;
681-
;; The following method is used compile a shader program.
681+
;; The following method is used to compile a shader.
682682
(defn make-shader [source shader-type]
683683
(let [shader (GL20/glCreateShader shader-type)]
684684
(GL20/glShaderSource shader source)
@@ -687,7 +687,7 @@
687687
(throw (Exception. (GL20/glGetShaderInfoLog shader 1024))))
688688
shader))
689689

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

0 commit comments

Comments
 (0)