From d2ed94a517066da4f4ec53045f9c69bfc355eab6 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Wed, 27 Dec 2017 21:24:48 +0000 Subject: [Code] Examples working again. --- yage/data/renderbatch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yage/data') diff --git a/yage/data/renderbatch.h b/yage/data/renderbatch.h index 0d034035..51521ec5 100644 --- a/yage/data/renderbatch.h +++ b/yage/data/renderbatch.h @@ -9,7 +9,7 @@ struct RenderBatch { GLuint texture; RenderBatch(GLint offset_i, GLsizei num_vertices_i, GLuint texture_i) - : offset(offset_i), num_vertices(num_vertices_i), texture(texture_i = 0) + : offset(offset_i), num_vertices(num_vertices_i), texture(texture_i) { } }; -- cgit