Various build folders added to .gitignore and fixed an error in opengl driver on mac

This commit is contained in:
Sit Melai 2016-09-02 21:33:20 +02:00
parent 7e1800a9fe
commit 598eadfa62
2 changed files with 6 additions and 1 deletions

5
.gitignore vendored
View file

@ -162,6 +162,11 @@ build/*
install/*
build_vc*
code/nel/tools/build_gamedata/configuration/buildsite.py
code/build_mac
code/build_linux32
code/build_linux64
code/build_windows32
code/build_server
# Linux nel compile
code/nel/build/nel-config

View file

@ -1486,7 +1486,7 @@ bool CDriverGL::createWindow(const GfxMode &mode)
[[CocoaApplicationDelegate alloc] initWithDriver:this];
// set the application delegate, this will handle window/app close events
[NSApp setDelegate:(id<NSFileManagerDelegate>)appDelegate];
[NSApp setDelegate:(id<NSApplicationDelegate>)appDelegate];
// bind the close button of the window to applicationShouldTerminate
id closeButton = [cocoa_window standardWindowButton:NSWindowCloseButton];