From 994d14c7cafa710a3b04451f78b302c98fd8711c Mon Sep 17 00:00:00 2001 From: CobaltXII Date: Fri, 28 Dec 2018 20:56:26 -0500 Subject: [PATCH] The block_texture_array is now generated on initialization --- src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 45676fe..3913f6a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -104,6 +104,10 @@ int main(int argc, char** argv) exit(5); } + // Load the block texture array. + + GLuint block_texture_array = mc_load_block_texture_array(); + // Create variables to represent the position of the mouse pointer, and // state of the mouse buttons.