graphics

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 5cca0bf379ad040e7235194454ffd28dca7c9cc3
parent 279d42bec6c595c2250f586450946f2af536d757
Author: Brian Swetland <swetland@frotz.net>
Date:   Thu, 12 Sep 2013 03:57:52 -0700

textgrid: correctly declare sampler0 to ensure we bind it

Diffstat:
Mcommon/assets/textgrid.glsl | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/assets/textgrid.glsl b/common/assets/textgrid.glsl @@ -34,10 +34,10 @@ void main() { -- fragment -uniform sampler2D uTexture0; +uniform sampler2D sampler0; in vec2 vTexCoord; void main() { - gl_FragColor = texture2D(uTexture0, vTexCoord); + gl_FragColor = texture2D(sampler0, vTexCoord); }