mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-05 13:51:04 +00:00
Fix build on linux
This commit is contained in:
parent
ab752e1156
commit
373ccff7e4
2 changed files with 8 additions and 10 deletions
|
@ -33,6 +33,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
#if defined(BBGE_BUILD_UNIX)
|
||||
#include <sys/types.h>
|
||||
#include <dirent.h>
|
||||
#include <sys/stat.h>
|
||||
#include <errno.h>
|
||||
#endif
|
||||
|
||||
#if defined(BBGE_BUILD_MACOSX)
|
||||
|
@ -105,7 +107,7 @@ Direction getNextDirClockwise(Direction dir)
|
|||
void sizePowerOf2Texture(int &v)
|
||||
{
|
||||
int p = 8, use=0;
|
||||
do
|
||||
do
|
||||
{
|
||||
use = 1 << p;
|
||||
p++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue