Skip to content

Commit

Permalink
Merge pull request #107 from RagnarokResearchLab/runtime-update-v0.0.9
Browse files Browse the repository at this point in the history
Update the Lua runtime to v0.0.9
  • Loading branch information
rdw-software authored Aug 13, 2023
2 parents 8320778 + a154643 commit 00dfd7e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ ignore = {
globals = {
-- Runtime APIs
"C_FileSystem",
"C_ImageProcessing",
"C_Runtime",
"C_Timer",
"C_WebView",
Expand Down
2 changes: 1 addition & 1 deletion Tools/RagnarokTools.lua
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function RagnarokTools:ExportLightmapsFromGND(gndFileContents)
textureImage.data = pixelBuffer
textureImage.channels = 4 -- RGBA

local maxFileSize = stbi.max_bitmap_size(textureImage.width, textureImage.height, textureImage.channels)
local maxFileSize = stbi.bindings.stbi_get_required_bmp_size(textureImage)
local fileContents = buffer.new(maxFileSize)
local startPointer, length = fileContents:reserve(maxFileSize)
local numBytesWritten = stbi.bindings.stbi_encode_png(textureImage, startPointer, length, 0)
Expand Down
2 changes: 1 addition & 1 deletion download-runtime.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ set -e

GITHUB_ORGANIZATION="evo-lua"
GITHUB_REPOSITORY="evo-runtime"
REQUIRED_RUNTIME_VERSION="v0.0.8"
REQUIRED_RUNTIME_VERSION="v0.0.9"

PLATFORM=$(uname)

Expand Down

0 comments on commit 00dfd7e

Please sign in to comment.