1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-06-30 22:29:56 +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:
Ryan Carsten Schmidt 2023-12-14 19:03:45 -06:00
parent d31ecd8986
commit cd4498a36a

View File

@ -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'])