From cb54141af7c8fbce5067296af403fd25ab6c0ffb Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Wed, 19 Dec 2018 23:01:32 -0500 Subject: [PATCH] Fix :trollface: typo --- korlib/bumpmap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/korlib/bumpmap.cpp b/korlib/bumpmap.cpp index 10d2eb0..5f29b78 100644 --- a/korlib/bumpmap.cpp +++ b/korlib/bumpmap.cpp @@ -35,7 +35,7 @@ extern "C" { PyObject* create_bump_LUT(PyObject*, PyObject* args) { static const int kLUTHeight = 16; static const int kLUTWidth = 16; - static const int kBufSz = kLUTWidth * kLUTWidth * sizeof(uint32_t); + static const int kBufSz = kLUTWidth * kLUTHeight * sizeof(uint32_t); pyMipmap* pymipmap; if (!PyArg_ParseTuple(args, "O", &pymipmap)) {