Mac OS X fixes from Ima Sudonim.

This commit is contained in:
ehofman
2006-03-11 22:20:19 +00:00
parent 54728f5d57
commit 95d1ac354e
2 changed files with 3 additions and 11 deletions

View File

@@ -523,9 +523,9 @@ bool RenderTexture::Initialize(int width, int height,
}
if ( iNumFormats <= 0 )
{
fprintf(stderr,
"RenderTexture Error: Couldn't find a suitable "+
"pixel format.\n");
SG_LOG(SG_GL, SG_ALERT,
"RenderTexture Error: Couldn't find a suitable "
"pixel format.");
return false;
}

View File

@@ -57,14 +57,6 @@
#ifndef _WIN32
# include SG_GLX_H
#endif
#ifdef __MACH__
# ifndef None
# define None false
# endif
# ifndef True
# define True true
# endif
#endif
#include <string>
#include <vector>