Fix the missing bit of GPU béziers.
authorDavid Gow <[email protected]>
Thu, 19 Jun 2014 06:20:15 +0000 (14:20 +0800)
committerDavid Gow <[email protected]>
Thu, 19 Jun 2014 06:20:15 +0000 (14:20 +0800)
Off by one!

src/shaders/bezier_texbuf_geom.glsl

index 2ee2836..caf7a10 100644 (file)
@@ -4,7 +4,7 @@ uniform samplerBuffer bezier_buffer_texture;
 uniform isamplerBuffer bezier_id_buffer_texture; 
 
 layout(lines) in;
-layout(line_strip, max_vertices = 100) out;
+layout(line_strip, max_vertices = 101) out;
 
 in int objectid[];
 

UCC git Repository :: git.ucc.asn.au