diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-12-27 21:24:48 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-12-27 21:24:48 +0000 |
commit | d2ed94a517066da4f4ec53045f9c69bfc355eab6 (patch) | |
tree | 4aba7b767826ddd05279c12b5b0c5da592c200cb /yage/data | |
parent | 354d7df4d2779ed7391701d1ef4344e959b64582 (diff) | |
download | YAGE-d2ed94a517066da4f4ec53045f9c69bfc355eab6.tar.gz YAGE-d2ed94a517066da4f4ec53045f9c69bfc355eab6.zip |
[Code] Examples working again.
Diffstat (limited to 'yage/data')
-rw-r--r-- | yage/data/renderbatch.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) { } }; |