aboutsummaryrefslogtreecommitdiff
path: root/client/shaders/default_shader/opengl_vertex.glsl
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2017-04-08 09:28:37 +0200
committerGitHub <noreply@github.com>2017-04-08 09:28:37 +0200
commit41c54830242269de073e4a0c10d1775dfdf6811d (patch)
tree5e432420281b966cce7ff1638ccfd618a393a6b3 /client/shaders/default_shader/opengl_vertex.glsl
parent01f9d05f2358f0771bd77fde6ca67192ebd6ceac (diff)
downloadminetest-41c54830242269de073e4a0c10d1775dfdf6811d.tar.gz
minetest-41c54830242269de073e4a0c10d1775dfdf6811d.tar.bz2
minetest-41c54830242269de073e4a0c10d1775dfdf6811d.zip
Replace luaL_reg with luaL_Reg as recent LuaJIT dropped the Lua 5.0 compat (#5541)
We are bundling Lua5.1 which has same macro
Diffstat (limited to 'client/shaders/default_shader/opengl_vertex.glsl')
0 files changed, 0 insertions, 0 deletions
"hl opt"><video::S3DVertex> vertices; PreMeshBuffer() = default; explicit PreMeshBuffer(const TileLayer &layer) : layer(layer) {} }; struct MeshCollector { std::array<std::vector<PreMeshBuffer>, MAX_TILE_LAYERS> prebuffers; // clang-format off void append(const TileSpec &material, const video::S3DVertex *vertices, u32 numVertices, const u16 *indices, u32 numIndices); void append(const TileSpec &material, const video::S3DVertex *vertices, u32 numVertices, const u16 *indices, u32 numIndices, v3f pos, video::SColor c, u8 light_source); // clang-format on private: // clang-format off void append(const TileLayer &material, const video::S3DVertex *vertices, u32 numVertices, const u16 *indices, u32 numIndices, u8 layernum, bool use_scale = false); void append(const TileLayer &material, const video::S3DVertex *vertices, u32 numVertices, const u16 *indices, u32 numIndices, v3f pos, video::SColor c, u8 light_source, u8 layernum, bool use_scale = false); // clang-format on PreMeshBuffer &findBuffer(const TileLayer &layer, u8 layernum, u32 numVertices); };