diff --git a/examples/limitEval/main.cpp b/examples/limitEval/main.cpp index 50de8a37..3b60462f 100644 --- a/examples/limitEval/main.cpp +++ b/examples/limitEval/main.cpp @@ -587,6 +587,10 @@ linkDefaultProgram() glAttachShader(program, vertexShader); glAttachShader(program, fragmentShader); + glBindAttribLocation(program, 0, "position"); + glBindAttribLocation(program, 1, "color"); + glBindFragDataLocation(program, 0, "color"); + glLinkProgram(program); GLint status;