opengl-learn

step-by-step introduction to OpenGL ES 2.0
git clone https://0xdd.org/code/opengl-learn.git
Log | Files | Refs | LICENSE

commit ee9038b8f9840399e8da90e4a112cc5c57f0705a
parent cc905a9753a0742bdcdced04e7ca2b673c3347c2
Author: David DiPaola <DavidDiPaola@users.noreply.github.com>
Date:   Wed, 27 Jun 2018 08:07:31 -0400

02, 03: minor clarification on shader variable naming scheme

Diffstat:
02-cube.c | 2+-
03-texture.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/02-cube.c b/02-cube.c @@ -19,7 +19,7 @@ int main() { GLFWwindow * window = ogl_init(400, 240, "02 - cube"); - /* vu: vertex uniform, va: vertex attribute, fu: fragment uniform, fv: fragment varying */ + /* vu: vertex shader uniform, va: vertex shader attribute, fu: fragment shader uniform, fv: fragment shader varying */ const char * program_vertex_source = "#version 100" "\n" "precision highp float;" "\n" diff --git a/03-texture.c b/03-texture.c @@ -25,7 +25,7 @@ int main() { GLFWwindow * window = ogl_init(400, 240, "03 - texture"); - /* vu: vertex uniform, va: vertex attribute, fu: fragment uniform, fv: fragment varying */ + /* vu: vertex shader uniform, va: vertex shader attribute, fu: fragment shader uniform, fv: fragment shader varying */ const char * program_vertex_source = "#version 100" "\n" "precision highp float;" "\n"