4
4
mirror of https://github.com/H-uru/korman.git synced 2025-07-14 02:27:36 -04:00

Update korlib for texture caching

Previously, the C korlib used a custom buffer class to avoid a memcpy
operation. However, pyMipmap expects binary string (PyBytes) objects, so
this changes the code to use them. Future work would be to continue
using PyBytes and removing the copy. For now, there are bigger fish to
fry...
This commit is contained in:
2018-09-02 17:59:46 -04:00
parent 654af0e56a
commit 2a49634e43
6 changed files with 2 additions and 193 deletions

View File

@ -18,7 +18,6 @@ endif()
# Da files
set(korlib_HEADERS
buffer.h
bumpmap.h
korlib.h
sound.h
@ -26,7 +25,6 @@ set(korlib_HEADERS
)
set(korlib_SOURCES
buffer.cpp
bumpmap.cpp
module.cpp
sound.cpp