minor fixes
This commit is contained in:
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user