mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
OSX build fix
This commit is contained in:
parent
8764f6433d
commit
34d9c53716
|
@ -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")
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue