mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-06-08 01:22:02 +00:00
little fix, replaying ryan's patch to libogg and an oversight in GridRender that got lost
This commit is contained in:
parent
9dbdac547e
commit
a551d70a6d
2 changed files with 10 additions and 1 deletions
|
@ -84,7 +84,7 @@ void GridRender::onRender()
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
int obsType = this->obsType;
|
const signed char obsType = this->obsType;
|
||||||
Vector camPos = core->cameraPos;
|
Vector camPos = core->cameraPos;
|
||||||
camPos.x -= core->getVirtualOffX() * (core->invGlobalScale);
|
camPos.x -= core->getVirtualOffX() * (core->invGlobalScale);
|
||||||
const TileVector ct(camPos);
|
const TileVector ct(camPos);
|
||||||
|
|
|
@ -140,7 +140,16 @@
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
/* @@AQUARIA: just force this to stdint.h.
|
||||||
# include <ogg/config_types.h>
|
# include <ogg/config_types.h>
|
||||||
|
*/
|
||||||
|
# include <stdint.h>
|
||||||
|
typedef int16_t ogg_int16_t;
|
||||||
|
typedef uint16_t ogg_uint16_t;
|
||||||
|
typedef int32_t ogg_int32_t;
|
||||||
|
typedef uint32_t ogg_uint32_t;
|
||||||
|
typedef int64_t ogg_int64_t;
|
||||||
|
typedef uint64_t ogg_uint64_t;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue