OSX build fix

This commit is contained in:
Joel de Vahl 2008-10-23 17:10:41 +00:00
parent 8764f6433d
commit 34d9c53716
2 changed files with 1 additions and 7 deletions

View file

@ -275,12 +275,6 @@ function build(settings)
client_settings.linker.frameworks:add("AGL")
client_settings.linker.frameworks:add("Carbon")
client_settings.linker.frameworks:add("Cocoa")
if config.coreaudio.value == 1 then
client_settings.linker.frameworks:add("CoreAudio")
client_settings.linker.frameworks:add("AudioToolbox")
client_settings.linker.frameworks:add("AudioUnit")
end
else
client_settings.linker.libs:add("X11")
client_settings.linker.libs:add("GL")

View file

@ -439,7 +439,7 @@ float gfx_screenaspect()
void gfx_clear_mask(int fill)
{
int i;
glGetIntegerv(GL_DEPTH_WRITEMASK, &i);
glGetIntegerv(GL_DEPTH_WRITEMASK, (GLint*)&i);
glDepthMask(GL_TRUE);
glClearDepth(0.0f);
glClear(GL_DEPTH_BUFFER_BIT);