From 5b718cd5b8188cb1f48e5c2bb52cd676325fe315 Mon Sep 17 00:00:00 2001 From: CobaltXII Date: Fri, 28 Dec 2018 16:50:30 -0500 Subject: [PATCH] mcu_load_block_texture_array changed to mc_load_block_texture_array --- src/inc/texture.hpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/inc/texture.hpp b/src/inc/texture.hpp index 40fdd56..f979069 100644 --- a/src/inc/texture.hpp +++ b/src/inc/texture.hpp @@ -8,8 +8,17 @@ std::map block_texture_name_to_layer; -GLuint mcu_load_block_texture_array(int x_res, int y_res, int channels) +GLuint mc_load_block_texture_array() { + // Define the expected properties of each sub-texture. + + int x_res = 16; + int y_res = 16; + + int channels = 4; + + // The texture array must have one layer for each texture in all_tex. + GLsizei layers = all_tex.size(); // Allocate space for the texels.