minor fixes

This commit is contained in:
h4570
2022-08-11 20:39:04 +02:00
parent 5316abce42
commit 74c642bd83
5 changed files with 15 additions and 12 deletions
+1 -1
View File
@@ -221,7 +221,7 @@ audsrv_adpcm_t* Audio::loadADPCM(const char* t_path) {
u8 data[adpcmFileSize];
rewind(file);
fread(data, sizeof(u8), adpcmFileSize, file);
audsrv_adpcm_t* result = new audsrv_adpcm_t();
auto* result = new audsrv_adpcm_t();
result->size = 0;
result->buffer = 0;
result->loop = 0;
@@ -16,6 +16,7 @@
namespace Tyra {
StaPipBagPackager::StaPipBagPackager() {}
StaPipBagPackager::~StaPipBagPackager() {}
void StaPipBagPackager::init(Renderer3DFrustumPlanes* t_frustumPlanes) {
@@ -177,7 +177,7 @@ void StaPipCore::render(StaPipBag* bag, StaPipBagPackagesBBox* bbox) {
if (checkYesFrustumInClipYes || checkYesFrustumInClipNo || checkNoClipNo) {
u16 packagesCount = 0;
auto biggerPkgs = packager.create(&packagesCount, bag, maxVertCount);
auto* biggerPkgs = packager.create(&packagesCount, bag, maxVertCount);
Verbose("Material - in frustum. Pkgs: ", packagesCount,
" size: ", static_cast<int>(biggerPkgs[0].size));
for (u16 i = 0; i < packagesCount; i++) {