From 4d1acf1dd38a1555ea97c6a6d41735d63f3dc036 Mon Sep 17 00:00:00 2001 From: Courtney Goeltzenleuchter Date: Wed, 25 Feb 2015 15:13:35 -0700 Subject: demos: Update to single layout --- demos/cube.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demos/cube.c b/demos/cube.c index 37db0de9..0ebbf997 100644 --- a/demos/cube.c +++ b/demos/cube.c @@ -1258,7 +1258,7 @@ static XGL_SHADER demo_prepare_fs(struct demo *demo) "#version 140\n" "#extension GL_ARB_separate_shader_objects : enable\n" "#extension GL_ARB_shading_language_420pack : enable\n" - "layout (binding = 0) uniform sampler2D tex;\n" + "layout (binding = 1) uniform sampler2D tex;\n" "\n" "layout (location = 0) in vec4 texcoord;\n" "void main() {\n" -- cgit v1.2.3