mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-16 11:30:22 +00:00
Improve macOS SDL Macintosh video & Apple II colors
Hacks in AppleII/Video.cpp, AppleII/Video.hpp, and Macintosh/Video.cpp assume that building on macOS means building for Metal unless IGNORE_APPLE is defined. By defining this in the macOS SDL build, Macintosh video is now sized and positioned correctly and Apple II colors are now just as wrong as they are on other OpenGL builds instead of being wrong in a unique way. See #872
This commit is contained in:
parent
d31ecd8986
commit
cd4498a36a
@ -144,7 +144,7 @@ env.Append(LIBS = ['libz', 'pthread'])
|
||||
|
||||
# Add additional platform-specific compiler flags, libraries, and frameworks.
|
||||
if env['PLATFORM'] == 'darwin':
|
||||
env.Append(CCFLAGS = ['-DGL_SILENCE_DEPRECATION'])
|
||||
env.Append(CCFLAGS = ['-DGL_SILENCE_DEPRECATION', '-DIGNORE_APPLE'])
|
||||
env.Append(FRAMEWORKS = ['Accelerate', 'OpenGL'])
|
||||
else:
|
||||
env.Append(LIBS = ['GL'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user